previous | start | next

C++ Programs

A simple C++ program has the following structure:

1. Optional comments
2. Header file "include" preprocessor statements
3. A function named main containing C++
   statements. Program execution begins in this function.

('Optional' means the compiler ignores comments, the instructor does
not!)

   


previous | start | next