Shape [C++] | Sololearn: Learn to code for FREE!


Shape [C++]

Can I make a colored shape in C++?

8/17/2019 10:54:48 PM


2 Answers

New Answer


Random_Coder_974 Definitely not at sololearn, on your pc or laptop, you will need third party graphics library like QT, SDL, OpenGL, DirectX etc.


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";