Difference between revisions of "Pkit.h"

From Earlham CS Department
Jump to navigation Jump to search
(New page: *Generalize output ** Allow a variable number of arguments (va_arg and all that jazz) and let the programmer specify what he or she wants to see (for debug purposes) *Because people may wa...)
(No difference)

Revision as of 10:04, 13 May 2010

  • Generalize output
    • Allow a variable number of arguments (va_arg and all that jazz) and let the programmer specify what he or she wants to see (for debug purposes)
  • Because people may want to equip C or C++ programs, account for the fact that cout and printf do not play nicely together.
    • The library detects C or C++ in the preprocessor stage and uses printf or cout respectively.