Hi!!!!
How can i change the colour of the screen when my program runs? (EG: from BLACK to RED);
PLS help. tks...
Hi!!!!
How can i change the colour of the screen when my program runs? (EG: from BLACK to RED);
PLS help. tks...
I am using Visual C++ 6.0
My OS wins XP
Clear the screen to make the whole thing have a red background.Code:#include <windows.h> #include <stdio.h> int main(void) { HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleTextAttribute(h, BACKGROUND_RED); printf("Hello\n"); return 0; }
Solve my problem le.....
a BIG TKS to everyobe who help me.....