
224 Fundamentals of Computer Programming and IT
8.7.3 Class Function Definitions
This part contains definition of functions. The function definition can be done outside or inside the class. The
functions defined inside the class are implemented as inline functions. When a function is large, it is defined
outside the class. In this case, prototype of a function is declared inside the class.
8.7.4 The main() Function
Like C, C++ programs always start execution from main() function. Thus the execution of every program
in C++ starts with main() function.
8.8 CREATING SOURCE FILE, COMPILING AND LINKING IN C++
The following steps are necessary for the ...