fork download
  1. #include <stdio.h>
  2.  
  3. #define DEBUG_PRINT(tag, format, ...) printf("[%10s] %7d: " format "\n", tag, millis(), ##__VA_ARGS__)
  4.  
  5. static int millis(void) { return 0; }
  6.  
  7. int main(void) {
  8. DEBUG_PRINT("SETUP", "%d %d %d %d", 1, 2, 3, 4);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 4180KB
stdin
Standard input is empty
stdout
[     SETUP]       0: 1 2 3 4