Mail Archives: djgpp/1998/10/05/17:30:07
I've just started using DJGPP, so please excuse my ignorance!
I have written a program that prints some text to the screen, enters
mode 13h, waits for a getch(), goes back into text mode, prints some
more text, waits for another getch() and then terminates.
The problem is that no text is printed to the screen until the program
terminates. Almost like there is an output buffer that isn't being
flushed until the program terminates. The getch()'s work okay, but
there is no text until the end of the program, at which time all the
text that was supposed to be displayed throughou the program is dumped
as one long string.
Has anyone encountered this before? I'm tried using printf and cout for
printing to stdout. Am i doing something wrong?
Thanx in advance for any help..
Chris Yewchuk
2B Computer Science
University of Waterloo,
Waterloo, Ontario, Canada
- Raw text -