INCLUDE FILES AND INCLUDE STATEMENT?
1. Header files must include a construction that prevents multiple inclusions. The convention is an all uppercase construction of the module name, the file name and the h
Suffix.
#ifndef
MOD_FILENAME_H
#define MOD_FILENAME_H :
#endif
The construction is to avoid compilation errors. The construction should appear in the top of the file (before the file header) so file parsing is aborted immediately and compilation time is reduced.
Suffix.
#ifndef
MOD_FILENAME_H
#define MOD_FILENAME_H :
#endif
The construction is to avoid compilation errors. The construction should appear in the top of the file (before the file header) so file parsing is aborted immediately and compilation time is reduced.
INCLUDE FILES AND INCLUDE STATEMENT?
Reviewed by MCH
on
July 17, 2012
Rating:
No comments: