|
|
|
|
|
linux下的c 编程------curses 库 |
|
作者:武汉SEO闵涛 文章来源:敏韬网 点击数935 更新时间:2009/4/22 20:45:34 文章录入:mintao 责任编辑:mintao |
|
|
|
#include <unistd.h> #include <stdlib.h> #include <curses.h> int main() { initscr(); move(5,15); printw("%s","Hello World!"); refresh(); sleep(4); endwin(); exit(EXIT_SUCCESS); }
|
|
|
|
|
|
|
|
|