====== window ======
void window(int left, int top, int right, int bottom);
==== description of window ====
Defines the active text mode window.
window defines a text window on the screen. If the coordinates are invalid, the call window is ignored.
left and top are the screen coordinates of the upper left corner of the window.
right, and bottom are the screen coordinates of the lower right corner of the window.
#include
int main( void )
{
clrscr();
window(20,10,42,42);
textcolor(3);
textbackground(6);
cprintf("window at 20,10,42,42\n");
return 0;
}
===== output of window example =====
{{:c:conio.h:window.png?nolink|example output of window in cmd}}