Using ctrl+F5, the program finishes and the console closes without waiting for input. I cannot use
int tmp;
cin>>tmp;
I had ticked an option in VS2013 which makes the console wait for a key, but I can't find it in VS2015.
Ensure that the project has the "SubSystem" property set to "Console". This can be found in the project properties under Linker > System.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With