pause c++ programs at the end, after compiling -


when compile program , run exe file automatically closes. there way avoid it? know can put system("pause") heard recommended not use it, or can put in cin @ end , wait user press before closing. there "real" official way make program stop?

are using visual studio? if yes , version before 2010 ctrl+f5 trick

if version after....

this might help

http://connect.microsoft.com/visualstudio/feedback/details/540969/missing-press-any-key-to-continue-when-lauching-with-ctrl-f5


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -