Click here to Skip to main content
15,913,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CWnd::SetTimer - machine dependant ? Pin
Maximilien19-Nov-05 9:59
Maximilien19-Nov-05 9:59 
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
ddmcr19-Nov-05 10:31
ddmcr19-Nov-05 10:31 
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
Gary R. Wheeler19-Nov-05 11:00
Gary R. Wheeler19-Nov-05 11:00 
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
ThatsAlok21-Nov-05 0:55
ThatsAlok21-Nov-05 0:55 
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
ddmcr21-Nov-05 1:54
ddmcr21-Nov-05 1:54 
QuestionProper Programming Style Pin
Magadass19-Nov-05 5:07
Magadass19-Nov-05 5:07 
AnswerRe: Proper Programming Style Pin
Trollslayer19-Nov-05 6:24
mentorTrollslayer19-Nov-05 6:24 
AnswerRe: Proper Programming Style Pin
Bob Stanneveld19-Nov-05 6:59
Bob Stanneveld19-Nov-05 6:59 
Hello,

This depends on your needs. If you're writing a time critical application, you may want to remove the debug messages from your application. If you're writing a service oriented application, you may want to write debug messages to a file or whatever.

I've a general debug (template) library which writes the debug messages wherever I want. I even don't have to write preprocessor statements in my code. I think that something similar is the way to go these days. simple tracing messages won't do anymore. The main reason for this is that you also want error information from release builds.

I think that you should experiment with different ways of saving debug output and write a simple conveniant library that fits your needs.

Hope this helps. Big Grin | :-D

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
QuestionProblem in initializing the structure member in VC++ Pin
Sasikumar.SR19-Nov-05 2:27
Sasikumar.SR19-Nov-05 2:27 
AnswerRe: Problem in initializing the structure member in VC++ Pin
PJ Arends19-Nov-05 13:32
professionalPJ Arends19-Nov-05 13:32 
AnswerRe: Problem in initializing the structure member in VC++ Pin
Gary R. Wheeler20-Nov-05 4:07
Gary R. Wheeler20-Nov-05 4:07 
GeneralRe: Problem in initializing the structure member in VC++ Pin
Sasikumar.SR20-Nov-05 22:54
Sasikumar.SR20-Nov-05 22:54 
QuestionLNK2005 error when using structure Pin
Sasikumar.SR19-Nov-05 2:19
Sasikumar.SR19-Nov-05 2:19 
AnswerRe: LNK2005 error when using structure Pin
Gary R. Wheeler19-Nov-05 5:36
Gary R. Wheeler19-Nov-05 5:36 
QuestionHow to round float number to the closest int?? Pin
Ming Luo19-Nov-05 0:44
Ming Luo19-Nov-05 0:44 
AnswerRe: How to round float number to the closest int?? Pin
toxcct19-Nov-05 0:48
toxcct19-Nov-05 0:48 
AnswerRe: How to round float number to the closest int?? Pin
Stan Shannon19-Nov-05 1:19
Stan Shannon19-Nov-05 1:19 
GeneralRe: How to round float number to the closest int?? Pin
Tim Smith20-Nov-05 7:02
Tim Smith20-Nov-05 7:02 
AnswerRe: How to round float number to the closest int?? Pin
Rick York19-Nov-05 7:37
mveRick York19-Nov-05 7:37 
Questionproblems in Pointer overflow/underflow Pin
K. narasimharao19-Nov-05 0:20
K. narasimharao19-Nov-05 0:20 
AnswerRe: problems in Pointer overflow/underflow Pin
khan++19-Nov-05 0:37
khan++19-Nov-05 0:37 
GeneralRe: problems in Pointer overflow/underflow Pin
toxcct19-Nov-05 0:43
toxcct19-Nov-05 0:43 
AnswerRe: problems in Pointer overflow/underflow Pin
toxcct19-Nov-05 0:43
toxcct19-Nov-05 0:43 
QuestionPrinter driver development Pin
mohsin_m18-Nov-05 23:26
mohsin_m18-Nov-05 23:26 
QuestionFile monitor program ? Pin
kendao18-Nov-05 22:37
kendao18-Nov-05 22:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.