colored text
Please support our C++ advertiser: Programming Forums
![]() |
Well depending on your operating system you may be able to get by with something like this:
#include <stdlib.h>
#include <iostream.h>
void main()
{
cout<<"Boring..."<<endl;
system("color 0B");
cout<<"AMAZING!"<<endl;
} A Hacker's Mind:
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
You can also use conio.h.Check my post below.It should give enough info I think.
http://www.daniweb.com/techtalkforum...0122#post30122
http://www.daniweb.com/techtalkforum...0122#post30122
![]() |
Similar Threads
Other Threads in the C++ Forum
- Multiple color schemes (DaniWeb Community Feedback)
- Colored output in bash? (Shell Scripting)
- how to make colors (C++)
- login screen config (Window and Desktop Managers)
Other Threads in the C++ Forum
- Previous Thread: Confused Where to Start?
- Next Thread: how the user can choose the directory of files
•
•
•
•
Views: 4834 | Replies: 2 | Currently Viewing: 1 (0 members and 1 guests)





Linear Mode