Changes

Jump to: navigation, search

Team !YOU - OOP344

474 bytes added, 12:55, 27 January 2010
m
Use Include Guides for Header Files
|-
|}
 
 
=== Use Include Guides for Header Files ===
For every header file that we write, we must make sure that it will never be added more than once to different pieces of code. Therefore, all your header file code should be in between the include guides as shown below:
 
#ifndef _344_EXAMPLE_H_
#define _344_EXAMPLE_H_
(code)
#endif
 
The convention for this project is to define our header files in upper case, starting with 344, and enclosed in a single underscore(_)
 
=== Put the pointer identifier(*) right after the target variable type. ===

Navigation menu