I tried to run simple hello world in Visual Studio 2017 - empty project and empty console apps, but console closes instantly when i press ctrl + f5. Visual studio was working normal few days ago. I updated VS community edition but still have same problem. Tried different solutions like:Properties>Configuration Properties> Linker> System(Console (/SUBSYSTEM:CONSOLE)), tried system("pause"), but nothing is working. Does anyone has any solution to this?
The thing is, VS was working normal few days ago, and console app would run without getchar(), system() and similar functions(console would stay open).