|
|
1.1.1.2 ! root 1: This directory contains the files discussed in the tutorial. 1.1 root 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: 1.1.1.2 ! root 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: 1.1 root 36: For example: 37: 1.1.1.2 ! root 38: nmake -f phbook DEBUG=1 ! 39: nmake -f phbook clean ! 40: nmake -f phbook DEBUG=0
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.