previous | index | next

Multiple Inclusions

Note that the inclusion of duds.H also generates the inclusion of all three class header files item.H, shirt.H, and chino.H.

The latter two also include item.H. All inclusion relationships are shown to the right.

Without the preprocessor directives (#ifndef, #define, and #endif) to guard agains multiple includes, duds.H would define ItemInfo three times, and the compiler would complain.

     

previous | index | next