c++ syntax

The general form of c++ program: (syntax):



#include
Base-class declaration

Derived-class declaration

Nonmember function prototype

Int main()

{

//……….

}

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.

Recommended Posts:

0 thoughts on “c++ syntax”

Leave a Comment