c++ syntax - InTerestinG321

c++ syntax

General form of c++ program: (syntax):

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.

  • Class in c++
  • Function in c++
  • 1 comment: