#include <graphics.h> int getmaxheight(void);
/* getmaxwidth and getmaxheight example */ #include <graphics.h> int main(void) { /* Make a window, as big as possible */ initwindow(getmaxwidth( ), getmaxheight( )); /* clean up */ getch(); closegraph(); return 0; }