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

+5

Shape [C++]

Can I make a colored shape in C++?

8/17/2019 10:54:48 PM

Maxwell

2 Answers

New Answer

+3

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.

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