The general form of c++ program: (syntax):
Nonmember function prototype
Nonmember function definition
In most of the large project, all class declaration will be put into a header file. And included with each module. In a normal program or project general form remains the same.