jamescpp

DEBUG

Oct 7th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. class:public std::ostream{}debug;
  2. #ifndef DEBUG
  3.     #undef DEBUG
  4.     #define DEBUG debug
  5. #endif
  6.  
  7. //g++ ... -DDEBUG=std::cerr /*logovanie na cerr*/
  8. //g++ ... -DDEBUG=std::cout /*logovanie na cout*/
  9. //g++ ... /*bex debug*/     /*neloguj debug*/
Advertisement
Add Comment
Please, Sign In to add comment