How can I change the color of text in a console application? Or give a location for it to be printed?
for example if I wanted to print "Hello World!" in red centered on the sixth line.
How can I change the color of text in a console application? Or give a location for it to be printed?
for example if I wanted to print "Hello World!" in red centered on the sixth line.
Which platform are you using, MS-Windows or Linux.
In Linux, You have to use CURSES Library
In MS-Windows, varies from compiler to compiler.
So tell about the platform you are using.
I'm sorry... I'm using Windows with the Visual C++ 6.0 compiler. However I am writing console applications rather than windows applications