Shape [C++] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Shape [C++]

Can I make a colored shape in C++?

17th Aug 2019, 10:54 PM
rewfsgdf
rewfsgdf - avatar
1 Answer
+ 3
You can actually print colored text on Linux with no extra libraries. Just print out the escape characters. I'm doing this from memory so it might be wrong, so check Google too: cout << "\033[1;31mHello World";
18th Aug 2019, 2:41 AM
Zeke Williams
Zeke Williams - avatar