#include //CC -LANG:fool=off -mips3 -n32 #define bool curses_bool extern "C" { #include } #include int main(int argc, char *argv[]) { initscr(); /* Initialization */ noecho(); /* Echo off */ cbreak(); /* nl- or cr not needed */ keypad(stdscr,TRUE); int x,y; getmaxyx(stdscr, y, x); endwin(); cout << x << " x " << y << endl; return 0; }