Pages

Monday, September 21, 2009

Things to remember

  1. Don't put a semicolon(';') after void main(). This will result in a compilation error.
  2. Pay extra care not to use capital letters except for the message written inside the printf() statement.
  3. The use of correct brackets is very important. The () - circular, [] sqaure, and {} curly brackets all have different meanings.

How to compile :

  1. Once you are done typing the program, now it is your turn to check the errors and see the output. For this , press Ctrl + F9 (for compiling) and Alt+F5 for seeing the output.
  2. Any change in the program must be followed by pressing Ctrl+F9 and Alt+F5 so that the changes can be seen.

0 comments:

Post a Comment