Hello world in C++
Vincent Yu
1 min read
·
Jul 31, 2026
Hello there, here is the full code of C++ Hello World.
#include <iostream>
int main() {
std::cout << "Hello world\n";
return 0;
}
Expected output:
NB: This code should work well in any C++ versions.
Technology