C++ executable crash
<p>I tried to generate an executable code for my program but it always crashes. It was okay in release / debug mode. This is the only change I have done based on the website <a href="http://xoax.net/cpp/crs/visualcpp/lessons/CreateExe/" rel="nofollow noreferrer">http://xoax.net/cpp/crs/visualcpp/lessons/CreateExe/</a></p>

<p><a href="https://i.stack.imgur.com/4NcvL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4NcvL.png" alt="enter image description here"></a></p>