www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/11/19:38:47

Date: Fri, 12 Jul 1996 07:38:09 +0800 (GMT)
From: Orlando Andico <orly AT gibson DOT eee DOT upd DOT edu DOT ph>
To: randall williams <ac387 AT yfn DOT ysu DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: gotoxy
In-Reply-To: <4s27ju$5jl@news.ysu.edu>
Message-ID: <Pine.SGI.3.93.960712073739.1646C-100000@gibson.eee.upd.edu.ph>
MIME-Version: 1.0

On 11 Jul 1996, randall williams wrote:

> #include <conio.h>
> #include <stdio.h>
> 
> int x,y;
> 
> main(){
>   for(x=0;x<256;x++){
>     for(y=0;y<256;y++){
>       gotoxy(1,1);
>       printf("%d %d",x,y);
>      /* in my program I did some math here */
>     }
>   }
> }


Gee, come on! printf() uses buffered streams! use cprintf() if you want
gotoxy to work!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019