User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:conio.h:window

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 <conio.h>
 
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

example output of window in cmd

advertising
c/conio.h/window.txt · Last modified: 2013/02/12 23:13 by 158.181.88.241

Impressum Datenschutz