Answer Posted / abhishek kesharwani ge mumbai
first of all there is nothing like debug or release this is only a default setting provided by the visual studio app wizard you can change the setting and make the debug as release or vice versa if you want you can create your own version with any name or can delete the existing on.
now here is difference between the default version debug and release.
Debug :
1. preprocessor macro _DEBUG is enabled.
2. compiler code optimization is off.
3. ASSERT is enabled.
4. Debug version of windows library and dll is used.
Release :
1. preprocessor macro NDEBUG is enabled.
2. compiler code optimization is ON.
3. ASSERT is disabled anything inside of ASSERT wan't be executed.
4. Release version of windows library and dll is used.
and one big difference becoz of that sometime code build in the debug is work and release version code do not work or crashed:
all variable in the debug version initialize from a known value that is not happen in the release other cause is on release version compiler optimization setting is ON.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
what is the meaning of constant FILE EXCEEDS LENGTH LIMIT while loading from ps file to vsam in the jcl?
how to repaint when working with horizontal scroll bar
List out the basic features of MFC.
I want recent paper pattern for HP company?
How do I create a dialog box in mfc?
What is the difference between Struts and JSF? Pls list some most suitable differences.
plzz tell me what we can do and dont in tally ERP & sap business one?
What does mfc stand for?
2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers
what message is sent to an application when the user presses the primary button?
What is mfc class hierarchy?
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?
what is functioning of DIalodDataXchange ..?
Do you have an idea about MFC?