RE: [Dev-C++] the ways to prevent the dos windows been closed
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ramana K. <ra...@my...> - 2001-01-03 02:11:07
|
You can keep a dos program running until a ENTER (but not any other key) is pressed without displaying "Press any key to continue..." like this: //at the end of the program cin.get(); return 0; } Xerchzkopfinc.(tm) Ramana Kumar <mailto:ra...@my...> ICQ# 93667117 To get paid for surfing the 'net please visit AllAdvantage.com <http://www.alladvantage.com/join.asp?refid=jpn471> . -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Wien Hong Sent: Tuesday, January 02, 2001 1:04 PM To: dev...@li... Subject: [Dev-C++] the ways to prevent the dos windows been closed When executing my dos program, it closes automatically. I understand that I can change this by putting system("PAUSE"); at the end of my source. Is there any other way to do this? I just don't to type it in my program. Thanks for your help. Wien |