Debug version:
1. Contains extra debugging information in the exe or dll built
2. Needs respective debug versioned Support files.(MFC Dll’s ended with d letter)
3. Compiled provides the extra memory guards, takes care of pointers without allocated memory.
4. Output file size (dll/exe) is very large.
Release version:
1. No debugging information.
2. Optimized for maximum speed.
3. Needs respective release versioned Support files.(MFC Dll’s ended without d letter)
4. Output file size (dll/exe) is very small.
Polymorphism is the ability of different objects to react in an individual manner to the same message. This notion was imported from natural languages. For example, the verb "to close" means different things when applied to different objects. Closing a door, closing a bank account, or closing a program's window are all different actions; their exact meaning is determined by the object on which the action is performed. Most object-oriented languages implement polymorphism only in the form of virtual functions. But C++ has two more mechanisms of static (meaning: compile-time) polymorphism: Operator overloading. Applying the += operator to integers or string objects, for example, is interpreted by each of these objects in an individual manner. Obviously, the underlying implementation of += differs in every type. Yet, intuitively, we can predict what results are. Templates. A vector of integers, for example, reacts differently from a vector of string objects when it receives ...
Comments
Debug:
int i; // i = 0
Release:
int i; // i = random uninitialised memory.