Date: Sun, 30 Jan 2000 09:49:15 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: igneous1 AT my-deja DOT com cc: djgpp AT delorie DOT com Subject: Re: gotoxy failing In-Reply-To: <870g1e$3rl$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 30 Jan 2000 igneous1 AT my-deja DOT com wrote: > int main() > { > clrscr(); > cout<<"Here goes nothing"; > fflush(stdout); > gotoxy(1,2); > > cout<<"First call will work"; > fflush(stdout); > gotoxy(1,3); > > cout<<"Second call will not"; > return 0; > } > > This works but i dont know why i have to use it > i compiled this in DOS without fflush(stdout); with my BC45 and > it work fine. See section 9.4 in the DJGPP FAQ, it explains this.