From: BWilliams Newsgroups: comp.os.msdos.djgpp Subject: Re: gotoxy() and simple ascii text graphics Date: Sun, 11 Jul 1999 17:20:57 GMT Organization: Deja.com - Share what you know. Learn what you don't. Lines: 27 Message-ID: <7majpi$1j2$1@nnrp1.deja.com> References: <7m9ba2$mh7$1 AT nnrp1 DOT deja DOT com> <378846b4 DOT 0 AT news DOT uni-bielefeld DOT de> NNTP-Posting-Host: 208.254.20.115 X-Article-Creation-Date: Sun Jul 11 17:20:57 1999 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; MSN 2.5; Windows 98; DigExt) X-Http-Proxy: 1.1 x35.deja.com:80 (Squid/1.1.22) for client 208.254.20.115 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Seems like you've got a strange C++ book. But, don't bother, just my opinion. > You will have to ad "cout.flush();" after every "cout << "|";". This should > make it work. > Things like that are very difficult to figure out, because the docs on libc > don't bother much about C++ and cout. > The OS doesn't matter in this case. > Thanks for the tip, I figured it was something simple like this. It's difficult to figure out these days, mainly because "who would even want to do such a thing?" That having been said, the book isn't as strange as it seems from this example. He's just not interested in teaching anything about graphics, and using simple screen output should have gotten around it. The actual exercise (not the one in my message) comes in a chapter about Friend functions and Friend classes. Sure glad that he WASN'T trying to teach graphics of any sort! Again, thanks for the tip. --Brandon Williams-------------------------------- Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.