sample c++ app hello world code example
Example 1: c++ hello world
#include <iostream>
int main()
{
std::cout << "Hello, C++!" << std::endl;
return 0;
}
Example 2: C++ hello world
std::cout << "Hello World" << std::endl;
#include <iostream>
int main()
{
std::cout << "Hello, C++!" << std::endl;
return 0;
}
std::cout << "Hello World" << std::endl;