Xalion Xalion - 1 year ago 102
C++ Question

visual studio 2015 console does not wait for key

I use

ctrl +F5
but it does not work, programe finishes and console is closed. I cannot use

int tmp;

I had ticked option in VS13 which makes that console was waiting for a key, but i cant find it in VS2015.

Answer Source

Ensure that the project has the "SubSystem" property set to "Console". This can be found in the project properties under Linker > System.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download