I think this has been asked before, but I'm specifiying DOS. How do I put an entire background (not textbackground, or whatever it is)?
Printable View
I think this has been asked before, but I'm specifiying DOS. How do I put an entire background (not textbackground, or whatever it is)?
How do you put an entire background what? I do not understand...
>>How do I put an entire background (not textbackground, or whatever it is)?<<
If you have conio.h then textbackground() changes the color of the whole screen/background . Though i dont undertand what you mean by "not textbackground".
this is how i do.. non std though
Code:#include<conio.h>
#include<iostream.h>
int main()
{
textbackground(4);
clrscr();
cout<<"THE BACKGROUND IS RED BUT TEXT IS NORMAL WHITE";
getch();
return 0;
}
sorry.. if this doesn't do what you want.