#include <string.h>
#include <stdio.h>
 
Go to the source code of this file.
◆ DEBUG
◆ debug_print
      
        
          | #define debug_print | 
          ( | 
           |           fmt,  | 
        
        
           | 
           | 
           |           ... ) | 
        
      
 
Value:        do { 
if (
DEBUG) 
fprintf(stderr, 
"%s:%d:%s(): " fmt, strrchr(
"/"__FILE__,
'/')+1, \
 
                                __LINE__, __func__, ##__VA_ARGS__); fflush(stderr);} while (0)
#define DEBUG
Definition debug_print.h:33
 
auto fprintf(std::FILE *f, const S &fmt, const T &... args) -> int
Formats args according to specifications in fmt and writes the output to f.
Definition printf.h:600