模块化菜单,初学C++写的
模块化菜单,初学C++写的,写的不太好,以后要多多向大佬们学习学习!#include <iostream> //Menu_s:菜单字符数组 number:菜单文字编号,从1开始unsigned int menu(const char **Menu_s, unsigned int number);bool input_check(void); int main(void){ unsigned int ret; const char *Menu_s[] =