Just a little question that how do I keep the VC++ from terminating my console app about 1 sec after I run it. I tried teh following codes to get not close my app until a key is pressed but that does not work in VC++

system("PAUSE")

OR

gethcar();


If there any other way to not close the app until a key is pressed?