+ 1

How to change background color in c++

21st Jul 2017, 9:25 AM
Million Gashawbeza
Million Gashawbeza - avatar
10 Antworten
+ 9
@Martin sources should be good. also things like that will not work in the playground. I tried it already. You need to do it in an IED.
21st Jul 2017, 11:05 AM
Manual
Manual - avatar
+ 7
@Martin the "should be good" I checked the sources near the end of making the comment and did not change the wording.
22nd Jul 2017, 12:52 AM
Manual
Manual - avatar
+ 5
@Martin I can't help that my codes are the bomb 💣
22nd Jul 2017, 12:49 AM
Manual
Manual - avatar
+ 1
you mean background color of your program/project. that's pretty simple just you need this [system ("color 0A");] change A with B, C ... F to get other colors and 0 with 1-9. 0-9 for foreground and A-F for background colors. 😊😃
22nd Jul 2017, 7:07 AM
Muhammad Sameem
Muhammad Sameem - avatar
0
@Martin Taylor yeah . I shared the full color schemes. the complete list. 😊
22nd Jul 2017, 7:14 PM
Muhammad Sameem
Muhammad Sameem - avatar
0
Here, you can use an ancient technique known as an ANSI escape sequence https://repl.it/@christophercharillo/Colored-text Unfortunately, the ANSI escape sequence will not work on windows. Much like how windows system function doesn't work on linux.
30th Jan 2018, 12:44 PM
Christopher Carillo
Christopher Carillo - avatar