| | |
colored text
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
Well depending on your operating system you may be able to get by with something like this:
C++ Syntax (Toggle Plain Text)
#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
- Edit and replace strings in a text file (C++)
- Coloring text (PHP)
- Colored output in bash? (Shell Scripting)
- Code Snippet: Rainbow Text (JavaScript / DHTML / AJAX)
- 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: 6026 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for C++
6 api application array arrays assignment based beginner binary c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete developer display dll dynamiccharacterarray email encryption error file format forms fstream function functions game generator givemetehcodez graph iamthwee ifstream image input int java lib list loop looping loops map math matrix memory multidimensional multiple newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg search sort sorting string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets





