Visual Studio 2010’da C ile konsol uygulamarı ile çalışıyordum. Program diğer bilgisayarlarda CTRL+F5 ile cmd.exe içinde açılıyordu. Fakat benim bilgisayarımda normal şekilde açılıyordu. Bu da programın çalışması bittiğinde hemen kapanmasına neden oluyordu. Bunun çözümünü ağağıdaki resimlerde gösterdim. Projenize sağ tıklayın ->Properties ->Configuration Properties -> Linker -> System, “SubSystem” içinde { Console (/SUBSYSTEM:CONSOLE) } seçeneğini seçin. Tamam/Ok tıklayıp kapatın .
I am making this request on behalf of several C++ programming students. In the past, we have been able to utilize ctrl-F5 (start without debugging) within VS 2005 and 2008 to keep the console window open so that we may view the output. And now, although it is in the menu in VS 2010, neither selecting the menu option or entering ctrl-F5 will keep the console open. Is this a glitch in VS 2010 or is there a new alternate way of keeping this window open?
Visual studio 2008 doesn’t close the console window after executed a console application, but 2012 does close.
I know that use “system(“pause”)” or getchar() to pause.
But I want to know whether the Visual studio 2012 offer an option to turn on?
Don’t use code.
Use this way
Please right click your project ->Properties ->Configuration Properties -> Linker -> System, please select { Console (/SUBSYSTEM:CONSOLE) } in “SubSystem” option. Check it again.
Arama Terimleri:
- keep visual studio window open (4)
- yhs-ifm1 (4)
- how to keep the consule opened in visual studio (3)
- keep console window open visual studio (3)
- visual studio 2012 dont close console (2)
- visual studio 2012 keep window open (2)
- visual studio keep console open (2)
- keeping console open in visual studio (2)
- visual studio keep console window open (2)
- c keep console from closing (2)
- how to hold the console screen in visual studio 2012 c (1)
- ctrl f5 in visual studio c (1)
- ctrl f5 does not keep the console open (1)
- ctrl f5 çalışmıyor (1)
- console doesn\t stay open with ctrl f5 (1)
- c window doesnt stay open (1)
- c visual studio keep console open (1)
- c keep window open after execution (1)
- зависает visual studio 2012 при ctrl f5 (1)
- c code to keep command window open after execution (1)