Re: [Dev-C++] why does window close after execution? newbie
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: <or...@vp...> - 2003-08-02 06:54:12
|
Richard Chiu wrote: > heck he's programming for DOS, let him use system("PAUSE"). > it goes against the very nature of programming to get() or cin or scanf etc when you dont want to! > i mean, sure it does the trick, but it doesnt 'wait for an 'enter'' it waits to read in the next character or string or whatever. Yes, but because of buffering, it will only return, when you press an 'enter'. And actually, I was wrong, it is getchar(). -- Greetings, Balázs |