Hi. How to change the background color in text mode in C?
Things I have tried:
I know how to change color of text. But I don't have a clue about the background.
Here it is for the text:
Cprogramming.com FAQ > Color my text
I also do know how to do it partially, just bellow the text. This is here:
Win32 Console Applications 4
I would like to do it everywhere, not just bellow the text.
Another idea could be the "system("cls")" command, but it always clears it to black color.
Also, if it is necessary I am using Windows 64 bits, Dev compiler.