Mail Archives: djgpp/1997/09/08/03:04:11
I use gcc both on unix and in djgpp. When I'm working on unix, the
following code to read in a character works.
ch = getchar();
fflush(stdin);
however, in djgpp, fflush doesn't work, so the next line reads in the
carriage return and utterly ruins my work.
Why doesn't fflush work here?
Please mail me, because I can't keep track of all the postings here.
TIA.
Tim
--------- Web : http://mailhost.net/~ttimothy/ ---------
E-mail : ttimothy AT mailhost DOT net
@>--;----
- Raw text -