Mail Archives: djgpp/1998/09/20/18:45:56
From: | uhfgood AT aol DOT com (Uhfgood)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Simple C question probably having to do with DJGPP
|
Lines: | 23
|
NNTP-Posting-Host: | ladder01.news.aol.com
|
Date: | 20 Sep 1998 22:36:53 GMT
|
Organization: | AOL http://www.aol.com
|
Message-ID: | <19980920183653.24923.00002490@ng126.aol.com>
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Well here's is the simple question. consider the following code :
printf("This demonstrates a \\a escape sequence: \a");
getch();
Now answer me this, how come it waits until a key is pressed to display the
string?
Now please I already know two ways to make it work like I think it's supposed
to.
one is to put a \n after the last part of the screen, and the other is to type
"fflush(stdout);" but that still doesn't answer my basic question. Please just
explain it to me? Also if you don't want to bother with this message after you
read it just close it, instead of wasting your time writing me back a flame.
(I'm not trying to be mean about, I just mean I figure it would take more
effort to flame me than it would to either ignore the question, or tell me the
answer)... -KWII-
*Keith Weatherby II*
*Uhfgood AT aol DOT com*
*Vice AT gconn DOT com*
- Raw text -