+ 1
How can i print colored texts using cpp?
colored text
2 Réponses
+ 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.
+ 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