April 30th, 1999, 12:17 PM
I want to do 2 macros... the first one will be called:
#define BEGIN_DEBUG
and the second will be called:
#define END_DEBUG
The goal is when i'm in debugging mode i want be abl to do things like that:
BEGIN_DEBUG
{
// Some c++ code...
}
END_DEBUG
But when i'm in release mode this block of code must disapears..
Is this possible?
If it is ... whats the trick?
Tanks.
Reply to : forgete@actresearch.com
#define BEGIN_DEBUG
and the second will be called:
#define END_DEBUG
The goal is when i'm in debugging mode i want be abl to do things like that:
BEGIN_DEBUG
{
// Some c++ code...
}
END_DEBUG
But when i'm in release mode this block of code must disapears..
Is this possible?
If it is ... whats the trick?
Tanks.
Reply to : forgete@actresearch.com