From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: Help! Characters won't COUT Date: Thu, 08 Oct 1998 19:22:11 -0300 Organization: BrunNet Lines: 19 Message-ID: <361D3B12.309849C9@unb.ca> References: <6vj1le$gh2$1 AT nnrp1 DOT dejanews DOT com> NNTP-Posting-Host: usr2fton7.brunnet.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (Win95; U) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com qasic AT hotmail DOT com wrote: > I was wondering if anybody using DJGPP could tell me why the "*" won't print > correctly when this program is compiled using DJGPP. It works find using > Borland's C++ 4.5 but nothing is printed when I use DJGPP. 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. -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlisnis AT BrunNet DOT Net