i have this function for making colors which is like this:
void TextColor(int color){
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),color);
}
i tried all sort of combinations and i HAVE read the forums .. but i cant figure out the code for ORANGE color...
i tried even to make a "for" to show me all colors but i cant see no orange there:
int i;
for(int i=0x000;i<0xFFF;i++)
{
TextColor(i);
cout<<"Coloured text"<<endl;
}
So please can someone tell me how to make the Orange colour...Note: I have to use that void TextColor function given from teacher.