| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 30 Jan 2000 09:49:15 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| 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: | <Pine.SUN.3.91.1000130094657.17273I-100000@is> |
| MIME-Version: | 1.0 |
| 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 |
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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |