c++ hello world program code example
Example 1: hello world c++
#include
int main(){
std::cout <<"Hello World" << std::endl;
return 0;
}
Example 2: c++ code to print hello world
#include
using namespace std;
int main(){
cout << "Hello World" << endl;
return 0;
}
Example 3: hello world in c++
#include
using namespace std;
int main(){
cout << "hello world! \n";
} //code by goukl aakash
Example 4: c++ hello world program
// Your First C++ Program
#include
int main() {
std::cout << "Hello World!";
return 0;
}