Shape [C++] | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 5

Shape [C++]

Can I make a colored shape in C++?

17th Aug 2019, 10:54 PM
rewfsgdf
rewfsgdf - avatar
1 Réponse
+ 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