ncurses is a lib for building command line user interface(TUI)
Hello World
include
int main() {
initscr();
printw(“Hello World !!!”); refresh();
getch();
endwin();
return 0;
}
初始化控制函数
ncurses is a lib for building command line user interface(TUI)
Hello World
int main() {
initscr();
printw(“Hello World !!!”); refresh();
getch();
endwin();
return 0;
}
初始化控制函数