Advertisement
adityasuman100

debugger

Nov 11th, 2023
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. #include "/home/ad/ad_debugger.h"
  5. Debugger D;
  6. #define d(x)            \
  7.     cerr << #x << "  "; \
  8.     D.print(x);         \
  9.     cerr << '\n';
  10.  
  11. #define da(x, n)       \
  12.     cerr << #x << " "; \
  13.     D.print(x, n);     \
  14.     cerr << "\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement