📄 sur_head.h.bak
字号:
/* file_name: sur_head.h
* author: wangtiezhen miuliang @ Xidian University
* description:
*/
struct command_item{
char output[50];
flag_type (*func)(void);
char lite_command[20];
}item[2][] = {
{
{"self_information" , stu_self_information ,"s" },
{"borrowed_books" , stu_borrowed_books ,"b" },
{"find_books" , stu_find_books ,"f" },
{"quit" , stu_tea_quit ,"q" },
{"" , NULL ,"" },
{"" , NULL ,"" },
{"" , NULL ,"" },
{"" , NULL ,"" },
},
{
{"borrow_books" , tea_borrow_books ,"bb" },
{"return_books" , tea_return_books ,"rb" },
{"find_books" , stu_find_books ,"fb" },
{"insert_books" , tea_insert_books ,"ib" },
{"del_books" , tea_del_books ,"db" },
{"insert_stu" , tea_insert_stu ,"is" },
// {"del_stu" , tea_del_stu ,"ds" },
{"close_system" , tea_close_system ,"close"},
{"quit" , stu_tea_quit ,"q" },
}
};
int const_stu_command_num_max = 4;
int const_tea_command_num_max = 8;
int const_stu_user_type = 0;
int const_tea_user_type = 1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -