Structure of C++ Program
Header Section : Contains name, author
etc.
Include section : Contains #include
statements
Constants and types section : contains
types and #defines
Global variable section : all global
variables are declared here
Functions section : contains user
defined functions
Main section
C++ Comments feature : We can add
comments a set of words/characters beginning with //. This is only for the one
line comment. If you have multiple lines comments then use forward slash and
asterisk (/*) at the start and end with asterisk and slash (*/). // can also be
used in each line for multiple line comments.