| delorie.com/archives/browse.cgi | search |
| From: | Erik Max Francis <max AT alcyone DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Help! Characters won't COUT |
| Date: | Thu, 08 Oct 1998 21:32:43 -0700 |
| Organization: | Alcyone Systems |
| Lines: | 19 |
| Message-ID: | <361D91EB.7206036E@alcyone.com> |
| References: | <6vj1le$gh2$1 AT nnrp1 DOT dejanews DOT com> <361D3B12 DOT 309849C9 AT unb DOT ca> |
| NNTP-Posting-Host: | charmaine.alcyone.com |
| Mime-Version: | 1.0 |
| X-Mailer: | Mozilla 3.01 (X11; I; Linux 2.0.34 i686) |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Endlisnis wrote:
> It is because DJGPP uses buffered I/O. Try this:
> cout << '*' << flush;
>
> If your doing a lot of locating, then make sure that flush is
> called before
> each gotoxy command.
Or better yet, don't use iostream output with conio output.
--
Erik Max Francis / email max AT alcyone DOT com / whois mf303 / icq 16063900
Alcyone Systems / irc maxxon (efnet) / finger max AT sade DOT alcyone DOT com
San Jose, CA / languages En, Eo / web http://www.alcyone.com/max/
USA / icbm 37 20 07 N 121 53 38 W / &tSftDotIotE
\
/ A good indignation brings out all one's powers.
/ Ralph Waldo Emerson
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |