home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH08 / A08152.TXT < prev    next >
Encoding:
Text File  |  1993-09-15  |  437 b   |  8 lines

  1. One convention is to put class definitions in header files.  The
  2. client code can use the preprocessor directive #include, as shown
  3. here, to insert the required declarations into the code that uses
  4. the classes.  If the definitions of member functions are placed in
  5. separate files, the header files can be used by the compiler for
  6. type checking, and used by the programmer as specifications of the
  7. public interface for the classes.
  8.