/* * * Semplice esempio di Hello World !!! */ #include <iostream> using namespace std; int main(int argc, char *argv[]) { cout << "Hello World !!!" << endl; // endl equivale ad un \n return 0; }
You need to create an account or log in to post comments to this site.
New C++ coders should be careful with using directive, so it's good to learn a right way to code in C++:
int main(int argc, char *argv[])
{
using std::cout;
using std::endl;
cout << "Hello World !!!" << endl; // endl equivale ad un \n
return 0;
}