I have a strange observation. When ever I try to run my C++ code on Microsoft Visual Studio 2008 by just pressing F5 the code runs fine. But if I run the same code by pressing ctrl + F5, the code crashes.
When I click option debug, it opens the place where the program stopped working and that is while executing operator new. I am not sure if this has something to do with running the code in debug mode and release mode. Can you clarify on the difference of running the code using F5 and ctrl + F5. Also if the difference is of debug and release mode , then please suggest me the possible reason for code crash.
Thanks in advance :-)