Hello there, just a question, what do you think is the purpose of this flag to this block of code...
void CDriveControl::Trace(bool bAt, char *lpszFormat, ...)
{
#ifdef _DEBUG
va_list args;
va_start(args, lpszFormat);
printf(lpszFormat, args);
if( bAt) {
fflush( stdout);
}
va_end(args);
#endif
}
I've been wondering, why do you have to check if the _DEBUG flag is defined?