In Figure 317, the declaration of the Stack class template is contained in the file stack.h and the function definitions are contained in the file stack.c.
Figure 318. Example of C++ Code that Works with or without the TEMPINC Option
|
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.