|
《beginning linux programming》第五章的第一个例子,按书上的意思应该是在第五行输出“hello,world”,可我编译成功运行的时候 P事也没发生
附源代码:
#include <unistd.h>
#include <stdlib.h>
#include <curses.h>
int main()
{
initscr();
move(5,15);
printw("%s","hello , word");
refresh();
endwin();
exit(EXIT_SUCCESS);
} |
|