View Full Version : A little c++ help...
scem0
Nov 9, 2002, 12:20 AM
Removed post. Too hard of a question. An easier question is posted below.
scem0
Nov 9, 2002, 12:21 AM
Delete/ignore post. Part of the original question
scem0
Nov 11, 2002, 08:57 PM
Okay, no luck there... But I don't blame anyone because that
was asking a lot out of anyone who knows c++. I think I am
figuring it all out anyways. But I have one small question:
How do you make colored text in a c++ source file (win32 console application)?
idkew
Nov 11, 2002, 09:38 PM
i don't have an answer for you, but I would definitely think about investing a c++ book for future reference. coding is not something that you learn completely by heart. even pro coders uses reference books in situations similar to this. doctors do the same......
apple has(had) about 6 or 7 books about the under workings of the mac os, and its toolboxes. my cs teacher would refer to them whenever it was necesasary.... it will be well worth your money to get a good book. o'reilly has some good ones.
cubist
Nov 11, 2002, 09:54 PM
You mean on NT/W2K? Use an ansi sequence e.g.
cout << "\033[6m";
scem0
Nov 12, 2002, 06:43 PM
thanks for the tip ikdew.
I have no idea what that means cubist but I appreciate it :D. I am
going to run it, and see what happens...
edit -- It didn't seem to do anything. COuld you make a hello world applications where it displays"hello world" in red? It would be appreciated.
zarathustra
Nov 12, 2002, 07:06 PM
Get a freaking book. Ask mom and dad to invest in your programming future and take you to Barnes and Noble.
kperry8
Nov 12, 2002, 07:11 PM
Go here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/conchar_156b.asp
I haven't looked at it myself, but it seems like it's what you want from the description I read.
and Zara, lighten up. His parents won't really be investing in anything by buying a book to teach about how to use the nuances of the Win32 console...
scem0
Nov 12, 2002, 07:17 PM
that link went to a page that wasn't on the server...
I would replt to Zara's message. But I don't want to start an
argument, or get this thread off topic.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.