Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help Pin
Joaquín M López Muñoz28-Feb-02 3:06
Joaquín M López Muñoz28-Feb-02 3:06 
GeneralRe: Help Pin
Mazdak28-Feb-02 3:14
Mazdak28-Feb-02 3:14 
GeneralRe: Help Pin
Carlos Antollini28-Feb-02 3:12
Carlos Antollini28-Feb-02 3:12 
GeneralProject Name Pin
Rajveer28-Feb-02 2:35
Rajveer28-Feb-02 2:35 
GeneralRe: Project Name Pin
Carlos Antollini28-Feb-02 2:45
Carlos Antollini28-Feb-02 2:45 
GeneralRe: Project Name Pin
Steen Krogsgaard28-Feb-02 9:53
Steen Krogsgaard28-Feb-02 9:53 
Generalwin32 debug/release Pin
Rajveer28-Feb-02 2:33
Rajveer28-Feb-02 2:33 
GeneralRe: win32 debug/release Pin
Joaquín M López Muñoz28-Feb-02 2:49
Joaquín M López Muñoz28-Feb-02 2:49 
"Debug" and "Release" are different configurations under which you can produce the final executable from your project files. Debug .EXEs are meant to be used in the debugging process, while release .EXEs do not have any such debugging aids and are typically smaller and faster. When compiling in debug mode, the macro _DEBUG is defined, while in release mode it is NDEBUG which is defined (also, _DEBUG is not defined in release mode, of course). Some of the debugging aids included in a debug executable are:
  1. Debugging versions of the functions in the C run-time library that check for common errors like passing null pointers, memory leaks, etc.
  2. Macros such as assert are included in the executable.
  3. Information is included that gives you the possibility to set breakpoints, watch the contents of variables in run-time, do step-by-step running, etc.
  4. The code is not optimized to preserve a mapping between source code and generated machine code. In release mode, a lot of optimizations are applied that frequently reverse the order of sentences, eliminate temporary variables, an so on.
So, use debug mode when testing your program and release when giving it away.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralASSERT/VERIFY Pin
Ravi Bhavnani28-Feb-02 3:02
professionalRavi Bhavnani28-Feb-02 3:02 
GeneralDial-up connection Pin
Mauricio Ritter28-Feb-02 2:22
Mauricio Ritter28-Feb-02 2:22 
GeneralRe: Dial-up connection Pin
Joaquín M López Muñoz28-Feb-02 2:42
Joaquín M López Muñoz28-Feb-02 2:42 
GeneralVisual Styles API Pin
Konstantin S. Diguine28-Feb-02 2:07
Konstantin S. Diguine28-Feb-02 2:07 
GeneralRe: Visual Styles API Pin
Ravi Bhavnani28-Feb-02 2:29
professionalRavi Bhavnani28-Feb-02 2:29 
GeneralRe: Visual Styles API Pin
Konstantin S. Diguine28-Feb-02 2:47
Konstantin S. Diguine28-Feb-02 2:47 
GeneralRe: Visual Styles API Pin
Ravi Bhavnani28-Feb-02 2:54
professionalRavi Bhavnani28-Feb-02 2:54 
GeneralCreate .mak File Pin
28-Feb-02 1:26
suss28-Feb-02 1:26 
GeneralRe: Create .mak File Pin
Joaquín M López Muñoz28-Feb-02 2:55
Joaquín M López Muñoz28-Feb-02 2:55 
GeneralQuestion about AddIns for Visual Pin
Nokia.pl28-Feb-02 0:40
Nokia.pl28-Feb-02 0:40 
GeneralRe: Question about AddIns for Visual Pin
Gavin Jerman28-Feb-02 1:18
Gavin Jerman28-Feb-02 1:18 
GeneralIs there a way to get IActiveScript*** Pin
Brian V Shifrin27-Feb-02 23:58
Brian V Shifrin27-Feb-02 23:58 
QuestionHow do u find bugs in MFC programs? Pin
John Cruz27-Feb-02 23:31
John Cruz27-Feb-02 23:31 
AnswerRe: How do u find bugs in MFC programs? Pin
Nish Nishant27-Feb-02 23:50
sitebuilderNish Nishant27-Feb-02 23:50 
AnswerRe: How do u find bugs in MFC programs? Pin
Mukkie28-Feb-02 11:29
Mukkie28-Feb-02 11:29 
GeneralRe: How do u find bugs in MFC programs? Pin
Tim Smith28-Feb-02 11:51
Tim Smith28-Feb-02 11:51 
Generalfocusing problem on windows 2000 Pin
27-Feb-02 22:29
suss27-Feb-02 22:29 

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.