qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Reducing Text-Only Programs
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     You can reduce, by about 8K or 10K, the executable-file size for a
     program that uses only the text-mode functions from GRAPHICS.LIB.
 
     To do so, link your program with NOGRAPH.OBJ. If you explicitly
     name GRAPHICS.LIB in the compile or link command, place it after
     NOGRAPH.OBJ on the command line. Use the /NOE option to avoid
     multiple symbol definitions. For example,
 
          qcl test.c nograph /link [ graphics.lib ] /NOE
 
     Your program built with NOGRAPH.OBJ cannot use graphics modes or
     graphics functions. It cannot try to change the palette. If the
     program tries to enter a graphics mode, _setvideomode will return
     an error.
                                    -♦-