Traktor pro 2 windows 10. Dec 13, 2017 I will assume you are referring to DevCpp IDE. If that is true then you are dabbling with IDE that was abandoned a way back to 2005. While this does not address your surface question, It is practically valuable. Mar 15, 2018 To use the textbackground function all you need to do is before printing any text call this function with a parameter defining the color in capital letters. That will be enough to change the background color of the text. Now, if you want your text to blink then while calling the textcolor function pass the color and also say BLINK. Observe that while the 'Foreground' color-fields have changed, most of the 'Background' color-fields have not changed (except for 'Space' always). (However, all colors are reflected correctly in the preview box; and all new-colors take correctly after Ok is hit. If the 'Colors' dialog is re-opened, all 'Background' color-fields show correctly now). Be wary of using the technique described by PigBen. It will change the background color for all instances of that window class, unless they implement WMPAINT/WMERASBKGND that overrides the windows' default background. I would make the extra effort of implementing WMERASEBKGND for your window, and draw the background explicitly.
Background Color Images
Through the standard, no. The screen doesn't even exist in C++, so neither do colors. Purely text and a standard input and output, and they're not even defined as to what it has to be.
However, there is several possibilities. If you're on windows, you can call the batch command 'color' using the system function. This will effectively change the background and foreground for the console until it's closed or changed again.
You can use an API specific version, there is some code here and on other sites that allow you to change color per character on the console. I have one that works with Windows, other operating systems not so much.
There is the option of going the ANSI route. Again, not standard, and not even guaranteed to work on all three of the main OS's. It is, however, going to work on the widest variety of computers, but isn't guaranteed to work on any.
It's up to you to pick what you want, and it's up to you to decide if you really want to implement it into your code. Again, it's not standard, and consoles aren't meant to use colors, however, some people swear it's what they want/need.
However, there is several possibilities. If you're on windows, you can call the batch command 'color' using the system function. This will effectively change the background and foreground for the console until it's closed or changed again.
You can use an API specific version, there is some code here and on other sites that allow you to change color per character on the console. I have one that works with Windows, other operating systems not so much.
There is the option of going the ANSI route. Again, not standard, and not even guaranteed to work on all three of the main OS's. It is, however, going to work on the widest variety of computers, but isn't guaranteed to work on any.
It's up to you to pick what you want, and it's up to you to decide if you really want to implement it into your code. Again, it's not standard, and consoles aren't meant to use colors, however, some people swear it's what they want/need.