Mail Archives: djgpp/1998/01/27/05:15:32
Myknees wrote:
> >Leon Heller wrote:
> >> Try fflush(stdout).
> >
> >Better yet, do not mix stdio and conio calls.
> >They were not meant to be
> >used at the same time.
> 
> I hear many people say that, and it makes sense on an abstract level, since
> file (or stdin / out) I/O is different from console I/O.  But no one has ever
> said what concrete bad would really come of it. 
Try to mix printf and cprintf in a program and redirect its output into
a file.
That is one example. Another (not tried yet)
printf ("nicely out of order");
cprintf ("This is printed ");
printf ("\n");
-- 
 \ Vik /-_-_-_-_-_-_/   
  \___/ Heyndrickx /          
   \ /-_-_-_-_-_-_/
- Raw text -