分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow
也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!
主函数所在cpp:#include "menu_1.cpp"#include "menu_2.cpp"void main(){ char choice; do{ choice=_getch(); }while(choice!='0'&&choice!='1') switch(choice) case '0': menu_1(); case '1': menu_2();}menu_1()所在menu_1.cpp:void menu_1(){ //其他操作 char choice; do{ choice=_getch(); }while(choice!='0'&&choice!='1') switch(choice) case '0': exit(0); case '1': menu_2(); }menu_2()所在menu_2.cpp:void menu_2(){ //其他操作 char choice; do{ choice=_getch(); }while(choice!