首页 > 关于curses的问题

关于curses的问题


WINDOW *win; 
win = newwin(win,5,6,8,8);
 start_color(); 
init_pair(省略);
 attron(省略); 
box(win,'*','*');
 attroff(省略);

大致的代码
但是win窗口没有颜色,换成stdscr却可以。

【热门文章】
【热门文章】