Our first program.
Required file names : <lastname>=helloworld1
Enter the following code -
Compile and Run - You will get this output :

Note the Press any key to continue - where did that come from? It is add by the compiler so the output window will stay open. We must always make sure this message is on a line by itself. To do this we must add a return or line feed. Modify your code by adding << endl , compile and run.
Compile and run - looks much better. Remember to always make sure the Press any key is on a line by itself.
Copy and paste the sample output into the source code and submit.
Updated: Tuesday, January 5, 2010 12:26 PM