actually that not quite what i want to know,
here is a example of what i need to know
Code:
#include <iostream>
#include <fstream>
using namespace std;
/* some code here that will be included when i compile
in debug mode, but will nto add any bloat or functionality
when i compile in release mode */
int main()
{
for(int num = 0; num != 100; num++)
{
//in here num will be manipulated mutiple times
//during each stage i want what num is equalled
//at each stage output to a file so i can make sure
//everything is going as accorrding. but i dont
//want this funcitonality in the final release
//when i do this with a regular output file i have
//extra 30 lines of code that i dont want to delete
//and add between all the testing.
}
return 0;
}
is that more clear, i think the one post above has the right idea
but they didnt elaberate enough for me to understand how to
use it because i have never used those preprocessor commands
or whatever they are before. thanks in advance