Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OnEraseBkgnd Pin
Neha8-Feb-02 23:43
Neha8-Feb-02 23:43 
GeneralRe: OnEraseBkgnd Pin
Christian Graus9-Feb-02 0:00
protectorChristian Graus9-Feb-02 0:00 
GeneralRe: OnEraseBkgnd Pin
Shog98-Feb-02 22:49
sitebuilderShog98-Feb-02 22:49 
GeneralRe: OnEraseBkgnd Pin
Neha8-Feb-02 23:04
Neha8-Feb-02 23:04 
GeneralRe: OnEraseBkgnd Pin
Shog98-Feb-02 23:43
sitebuilderShog98-Feb-02 23:43 
GeneralRe: OnEraseBkgnd Pin
Neha8-Feb-02 23:54
Neha8-Feb-02 23:54 
GeneralError in Creating Table Pin
vin8-Feb-02 21:00
vin8-Feb-02 21:00 
QuestionASSERT...? Pin
alex.barylski8-Feb-02 19:27
alex.barylski8-Feb-02 19:27 
How does the implementation of ASSERT not compile with release mode...?

#ifdef _DEBUG
#define ASSERT(exp) \ Blah blah
#endif


I thought it would be much like the above, which it is, however this doesn't prevent the compiler from complaining
at ever occurance of ASSERT(FALSE)

This has left me to assume that the compiler and not the preprocessor removes any ASSERT macro from your code..?

Am I wrong..? Could i define a similar debug macro and have it dissappear on release compile, or is this a feature of Visual C++...?

Thanx!

Smile | :)

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
AnswerRe: ASSERT...? Pin
Wolfram Steinke8-Feb-02 22:28
Wolfram Steinke8-Feb-02 22:28 
GeneralRe: ASSERT...? Pin
alex.barylski8-Feb-02 23:30
alex.barylski8-Feb-02 23:30 
GeneralRe: ASSERT...? Pin
Wolfram Steinke8-Feb-02 23:39
Wolfram Steinke8-Feb-02 23:39 
GeneralRe: ASSERT...? Pin
Sprudling9-Feb-02 5:19
Sprudling9-Feb-02 5:19 
GeneralRe: ASSERT...? Pin
alex.barylski9-Feb-02 11:07
alex.barylski9-Feb-02 11:07 
GeneralTom Armstrong's ActiveX book Pin
Phil F8-Feb-02 12:27
Phil F8-Feb-02 12:27 
GeneralRe: Tom Armstrong's ActiveX book Pin
Nish Nishant8-Feb-02 13:28
sitebuilderNish Nishant8-Feb-02 13:28 
GeneralRe: Tom Armstrong's ActiveX book Pin
Phil F8-Feb-02 14:24
Phil F8-Feb-02 14:24 
GeneralCDateTimeCtrl Pin
john john mackey8-Feb-02 11:26
john john mackey8-Feb-02 11:26 
GeneralGlobal functions Pin
RK_20008-Feb-02 11:02
RK_20008-Feb-02 11:02 
GeneralRe: Global functions Pin
Chris Losinger8-Feb-02 11:25
professionalChris Losinger8-Feb-02 11:25 
GeneralRe: Global functions Pin
Nish Nishant8-Feb-02 13:05
sitebuilderNish Nishant8-Feb-02 13:05 
GeneralRe: Global functions Pin
Christian Graus8-Feb-02 16:56
protectorChristian Graus8-Feb-02 16:56 
GeneralRe: Global functions Pin
Nish Nishant8-Feb-02 18:11
sitebuilderNish Nishant8-Feb-02 18:11 
GeneralRe: Global functions Pin
Christian Graus8-Feb-02 18:18
protectorChristian Graus8-Feb-02 18:18 
Generalresizable arrays Pin
8-Feb-02 11:00
suss8-Feb-02 11:00 
GeneralRe: resizable arrays Pin
Nemanja Trifunovic8-Feb-02 11:12
Nemanja Trifunovic8-Feb-02 11:12 

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.