#include int getmaxy(WINDOW* window) { int y; int x; getmaxyx(window,y,x); return y; } int getmaxx(WINDOW* window) { int y; int x; getmaxyx(window,y,x); return x; }