#include <iostream>(NOTE: The final character in the "endl" above is the letter 'el' and not a 'one'. The "endl" stands for "endline".)
using namespace std;
int main (void)
{
cout << "Hello World!" << endl ;
return 0 ;
}
Checking for Errors and Executing the Program: If you got an error message, it probably means that you made a mistake when you typed the program. In that case, fix it: go back to step #7. If there were no errors in your program, then your compilation succeeded, and the name of the executable translation of the program is "a.out". In that case, enter "a.out", to execute the program. You should see the message "Hello World!" that your program prints on the screen. Did you see it? If so, give yourself a pat on the back. You just wrote a C++ program, and (this is the really important part) it does what it's supposed to do.