Help for this page

Select Code to Download


  1. or download this
    #define DEBUG(fmt,expr) \
    fprintf(stderr, "DEBUG: " __FILE__ ":%d - " #expr " = [" #fmt "]\n", _
    +_LINE__, expr);
    
  2. or download this
    10: char szMyString[] = "ContentsOfMyString";
    31: ...
    ...
    34: ...
    ... output =>
    DEBUG: my_script.c:32: - szMyString = [ContentsOfMyString]