is there anything in c++ that provides to print out on screen colored text
ex.
cout<<"welcome"<<endl;
output:
welcome
thx
matika
0
Newbie Poster
Recommended Answers
Jump to PostWell 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; }
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.