home *** CD-ROM | disk | FTP | other *** search
- One convention is to put class definitions in header files. The
- client code can use the preprocessor directive #include, as shown
- here, to insert the required declarations into the code that uses
- the classes. If the definitions of member functions are placed in
- separate files, the header files can be used by the compiler for
- type checking, and used by the programmer as specifications of the
- public interface for the classes.
-