• To compile Microsoft® QuickC® programs from the DOS command
line (using the "large" memory model), execute the following:
qcl /AL <
path...\program.C
> <
path...
\clhpib.lib>
For example,
qcl /AL b:\meter.c c:\qc2\lib\clhpib.lib
Change the "/AL" parameter to the appropriate setting when compiling
in the smaller memory models (see your C Language manual for more
information). For some programs, you may also have to change the
stack size using the "/F" parameter.
• To compile Borland® Turbo C®++ programs from the DOS command
line (using the "large" memory model), execute the following:
tcc -ml <
path...\program.C
> <
path...
\tchhpib.lib>
For example
tcc -ml b:\meter.c c:\tc\lib\tchhpib.lib
Change the "-ml" parameter to the appropriate setting when compiling
in smaller memory models (see you C Language manual for more
information).
• Once compiled and linked, and executable file (.EXE) and object file
(.OBJ) are created in the current directory. run the program by typing
the file name with the .EXE extension.
Chapter 6 Application Programs
C Language Programs
232