Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef DEBUG
- #define DEBUG_MSG(str) do { std::cout << str << std::endl; } while( false )
- #else
- #define DEBUG_MSG(str) do { } while ( false )
- #endif
- int main()
- {
- DEBUG_MSG("Hello" << ' ' << "World!" << 1 );
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement