It seems like when im dealing with colored text and the text scrolls off the screen it turns gray...then back to the colored text again...Check this out:
Code:#include <iostream.h> #include <conio.h> #include <windows.h> char x; HANDLE stdOut = GetStdHandle(STD_OUTPUT_HANDLE); int main (void) { SetConsoleTextAttribute(stdOut, FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY); system("CLS"); cout<<"This is white text\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"; cout<<endl; getch(); cout<<"This is should be white text"; cout<<endl<<endl<<endl<<endl; getch(); cout<<"This should be white text"; cout<<"\nThis is white text "; return 0; }