Article View: borland.public.cppbuilder.nativeapi
Article #13105Changing Text color
From: Mike King
Date: Mon, 27 Oct 2003 15:52
Date: Mon, 27 Oct 2003 15:52
9 lines
1113 bytes
1113 bytes
Does anyone know how to change the color of the text in a console
application?
...
printf("This is a test");
setcolor(BLUE);
printf("This is a test");
setcolor(RED);
...
Technical Details
Message-ID:
<3f9d3f26@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!easynet-quince!easynet.net!peer01.cox.net!cox.net!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,c8cb73d0b2454dea,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-27 08:09:20 PST From: "Mike King" <emailMK@excite.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Changing Text color Date: Mon, 27 Oct 2003 10:52:05 -0500 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 64.45.143.248 Message-ID: <3f9d3f26@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067269926 64.45.143.248 (27 Oct 2003 07:52:06 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!easynet-quince!easynet.net!peer01.cox.net!cox.net!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail