+ 1

how to change background and font color in c++ program

1st Nov 2016, 4:28 PM
KG Feignh
KG Feignh - avatar
3 Antworten
+ 2
If you mean the colours of the command prompt, you'll want to look in to the NCurses library, I'm not aware that this is possible through code alone without such a library.
1st Nov 2016, 4:57 PM
Cohen Creber
Cohen Creber - avatar
+ 1
use a compiler every thing has different colors in it
1st Nov 2016, 8:12 PM
imaqtpie
imaqtpie - avatar
+ 1
If you're making OS specific code you can use system command calls it's simple, easy and fast but waaaaaaay too slow in larger programs NCurses is still the best bet, but system calls are easier for short stuff
1st Nov 2016, 10:00 PM
Gustavo Santos Ferreira
Gustavo Santos Ferreira - avatar