다름이 아니라 curses.h 이용해서 콘솔화면 제어를 해볼려고
하는데... 컴파일은 되는데 실행결과가 안나오네요. ㅡ,.ㅡ;
컴파일 옵션은 아래와 같이 했습니다. curses.h 파일보니깐
ncurses 파일과 링크되어 있는것 같아서요...
#gcc -o test test.c -lncurses
프로그램은 아래와 같은 hello 출력 프로그램입니다.
#include <unistd.h>
#include <stdlib.h>
#include <curses.h>
int main()
{
initscr();
move(5, 15);
printw("%s", "Hello World");
refresh();
sleep(2);
endwin();
exit(EXIT_SUCCESS);
}--우리모두 친절합시다. 점점 살벌해 지는 세상... ㅡ,.ㅡa
질문도 친절, 답변도 친절...