C语言根据函数名调用对应的函数
摘要:
通过函数指针定义,调用时加上参数 struct Command { const char *name; const char *desc; // return -1 to force monitor to exit int (*func)(int argc, char** argv, struct 阅读全文
posted @ 2016-05-04 16:52 Joker_88 阅读(1540) 评论(0) 推荐(0)