As the title:
Let's look at the detailed introduction of these two first: The
difference between Debug and Release under VC
is mentioned in the articleassert() function, Let’s take a look at this
: Summary of assert() function usage C/C++ Summary of
assert() function usage
You may be curious why printf is not used for printing and debugging. The following sentence gives the answer: