Message-Id: <5.1.0.14.2.20011112170753.00ab9210@pop.softhome.net> X-Sender: tergiversator AT pop DOT softhome DOT net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 12 Nov 2001 17:15:50 +1100 To: djgpp AT delorie DOT com From: Le Chat Noir Subject: Re: C++ replacement for cprintf(), etc? In-Reply-To: <200111111838.fABIc3u21739@envy.delorie.com> References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011112042008 DOT 00a4fec0 AT pop DOT softhome DOT net> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011112042008 DOT 00a4fec0 AT pop DOT softhome DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk At 12/11/2001 05:38 AM, you wrote: >> so, is there? Will an unbuffered cout do the trick? Or is there >> more to console output than meets the eye/buffer? Thanks, cheers. > >No replacement is needed. Continue using cprintf() etc even in C++. >They still exist and they are still the right functions for that >purpose. How much work would it be to implement conio in C++? To the extent that even maybe, you could do things like: cout << setcolour(BLUE) << "blah blah"; And I'm not just talking about fancy wrappers. Anyway, you have answered my question, thanks, now I'm just curious.