| | |
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
| Thread Tools | Search this Thread |
api array based beginner binary c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





