I told VC ++ to compile my program in release mode, but assert () instructions still fire. I thought that statements should have been compiled from releases to improve performance. What's happening? Is there any other setting that I need to copy their compilation?
Check which preprocessor character you are defining. Typically, a debug build defines _DEBUG, and a release build usually defines NDEBUG. Statements are usually turned off when defining NDEBUG.
_DEBUG
NDEBUG
. debug- > break, . , assert. . , /P /d1PP , , #define.