Mail Archives: djgpp/1998/01/13/21:04:52
At 10:14 1/13/1998 GMT, Bjoern Appel wrote:
>Hi,
>I've this little program:
>
>//start of little program **********
>#include<stdio.h>
>#include<conio.h>
>
>int main(void)
>{
> clrscr()
> printf("Please wait...");
> getch();
> return 0;
>}
>//end of little program **********
>
>Now the problem:
>The program shows a blank screen and will print the "Pleas wait..."
>AFTER I pushed a button, not BEFORE !!!
>
>What could I do ?
You could read FAQ section 9.4. It explains that stdio is buffered in DJGPP,
and what you can do about it.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -