Hey ive been searching on the net on how to change text color but only come up with bitmaps, graphics like shapes. Can somebody please help thanx in advance
This is a discussion on changing text color within the C Programming forums, part of the General Programming Boards category; Hey ive been searching on the net on how to change text color but only come up with bitmaps, graphics ...
Hey ive been searching on the net on how to change text color but only come up with bitmaps, graphics like shapes. Can somebody please help thanx in advance
For MS-DOS you have to do something like:
#include <conio.h>
void some_function([parameters]) {
/* some code */
textcolor(BLUE);
cprintf("hello\n");
}
For Linux:
char yellow[11]="\033[1;33m";
/* etc */