delorie.com/archives/browse.cgi | search |
From: | dontmailme AT iname DOT com (Steamer) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Color Text... |
Date: | Wed, 03 Jan 2001 00:17:46 GMT |
Organization: | always disorganized |
Lines: | 26 |
Message-ID: | <3a526f9e.44780523@news.freeserve.net> |
References: | <3A52601F DOT 300F61D2 AT crosslink DOT net> |
NNTP-Posting-Host: | modem-236.achilles-tang.dialup.pol.co.uk |
X-Trace: | news6.svr.pol.co.uk 978481067 5077 62.136.221.236 (3 Jan 2001 00:17:47 GMT) |
NNTP-Posting-Date: | 3 Jan 2001 00:17:47 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Newsreader: | Forte Free Agent 1.11/32.235 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Matthew Borkowski wrote: > ... Is there any way to print color text (something other than white) in > pure C++? No. > Or do I need to go to a platform specific news group. Last time I checked, this was a platform specific newsgroup. > I've searched the internet and my MSDN help thing, but I couldn't find > anything regarding to it. #include <conio.h> int main(void) { textcolor(LIGHTBLUE); cprintf("Hello, World"); textcolor(LIGHTGRAY); cprintf("\n"); return 0; } See the libc documentation for further details.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |