资 源 简 介
int show_char(int n, const char *name, chtype code)
{
const int height = 16
int row = 4 + (n height)
int col = (n / height) * COLS / 2
mvprintw(row, col, " *s : ", COLS/4, name)
addch(code)
return n + 1
}- int show_char(int n, const char*name, chtype code)
{
const int height = 16
int row = 4+ (n height)
int col = (n/height)* COLS/2
mvprintw(row, col, "*s : ", COLS/4, name)
addch(code)
return n+ 1
}