+ 1

How can i print colored texts using cpp?

colored text

22nd Jan 2017, 3:43 AM
vishnu
vishnu - avatar
2 Respostas
+ 2
You could do it by using graphics.h header file and working in pixel mode. The default mode is text mode in c++ compiler.
22nd Jan 2017, 6:50 AM
Rishabh Agrawal
Rishabh Agrawal - avatar
+ 1
In text mode, you can colorize a little your output, by using control characters ( escape sequences ), as well as positionning the cursor, clear the screen... https://en.m.wikipedia.org/wiki/ANSI_escape_code
22nd Jan 2017, 12:30 PM
visph
visph - avatar