/*
* =====================================================================================
*
* Filename: 14.c
*
* Description: 14
*
* Version: 1.0
* Created: 2010骞?9鏈?6鏃?16鏃?8鍒?3绉? * Revision: none
* Compiler: gcc
*
* Author: cdutyangshaokun@163.com
* Company: College of Information Engineering of CDUT
*
* =====================================================================================
*/
#include<ncurses.h>
int main()
{
initscr();
printw("hello world!!!/n");
refresh();
def_prog_mode();
endwin();
system("/bin/sh");
reset_prog_mode();
refresh();
printw("another string/n");
refresh();
endwin();
return 0;
}
ncurses programming howto 书中源代码-2
最新推荐文章于 2012-02-10 16:29:42 发布