当我通过 Code::Blocks 运行程序时出现此消息
这是我的代码。我不是想创造一些巨大的东西,现在我想弄清楚 pdcurses 函数的作用。
#include <stdio.h>
#include <stdlib.h>
#include <curses.h>
#include <string.h>
int main()
{
int maxx=80, maxy=54;
initscr();
getmaxyx(stdscr, maxy, maxx);
printw("maxy= %d maxx= %d \n", maxy , maxx);
refresh();
getch();
endwin();
return 0;
}