home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK11 / MFC / SAMPLES / TUTORIAL / README.TX$ / readme
Encoding:
Text File  |  1992-01-15  |  1.6 KB  |  41 lines

  1. This directory contains the files discussed in the tutorial.
  2. These files build three different programs: DMTEST.EXE,
  3. CMDBOOK.EXE, and PHBOOK.EXE.
  4.  
  5. DMTEST.EXE is a DOS program that tests the implementation of
  6. the CPerson and CPersonList classes.
  7.  
  8. CMDBOOK.EXE is a DOS program that provides a character-based
  9. interface to the phone book database.  This program has many
  10. of the capabilities of the final Windows program, with the
  11. exception of print support and (naturally) a graphical user
  12. interface.
  13.  
  14. PHBOOK.EXE is a Windows 3.0 program; the final result.  This is
  15. a simple but complete application that implements a phone book
  16. database of CPerson objects.
  17.  
  18. All three programs share a common source file, PERSON.CPP.  CMDBOOK.EXE
  19. and PHBOOK.EXE also share the database implementation in DATABASE.CPP.
  20.  
  21. The makefiles used to build the samples in this directory put object
  22. files and executables in target-specific subdirectories.  CMDBOOK and
  23. DMTEST use the CHAR subdirectory, while PHBOOK uses the WIN subdirectory.
  24.  
  25. Note: If you switch between building DEBUG and RETAIL versions of
  26. a particular application, you should do a clean build.  This is required
  27. since retail and debug object files are stored in the same target
  28. subdirectory.  If you fail to delete retail-built object files before
  29. switching to a debug build, or vice versa, you will likely have link-time
  30. errors.
  31.  
  32. PWB will take care of this for you when you switch between build
  33. types using the Options/Build Options dialog.  If you use NMAKE,
  34. you must do the 'clean' step yourself.
  35.  
  36. For example:
  37.  
  38. nmake -f phbook DEBUG=1
  39. nmake -f phbook clean
  40. nmake -f phbook DEBUG=0
  41.