#include/* * The next command allows using simpler names for things in the * std namespace. The fullname of "cout" is "std::cout" and the * fullname of "endl" is "std::endl". So this makes programming * easier. */ using namespace std; /* * The execution of a C++ program begins with the function named * "main". This is after this comment. * * The parameter argc is the number of items on the command line * when the program is executed. This will be 1 if only the name * of the program is entered. * * The second parameter is an array of character pointers which * is really an array of C style strings which are the components * of the command line. */ int main ( int argc, char **argv ) { /* * cout followed by the << operator outputs something. In the * following line it outputs a string and then uses endl. * * endl effectively tells cout to actually output whatever it * has been accumulating. */ cout << "Hello World!\n" << endl; /* * Here we return 0 from main which is the normal way to exit * a program. * / return 0; }