Does anyone know how to set the character background color? I tried using system("color ") etc. but this sets the background color of the whole screen...

What I need is the c++ equivalent of the 'textbackground()' function used in pascal....

thanks

Recommended Answers

All 4 Replies

I'm working with Dev-C++ 4.9.9.2 on Windows XP. I read on other forums that I should use textbackground() and include conio.h, but the compiler kept saying that the function was not defined...
thanks

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.