getchar();
sum_stock=read_stock(); for(i=0;i if(stoc[i].stocknum PrintStock(&stoc[i]); sum++; } } if(sum==0) printf(\所有库存数量都大于该警戒值!\\n\printf(\按任意键继续!\\n\getch(); } //----------------------------------------------------- void main() { int select; START: { printf(\ printf(\printf(\ printf(\欢迎进入仓库物资管理系统 printf(\ printf(\printf(\输入 1 创建库存记录\\n\printf(\输入 2 进入物资入库管理\\n\printf(\输入 3 进入物资出库管理\\n\ printf(\输入 4 进行物资查询\\n\*\\n\*\\n\*\\n\ } } printf(\输入 5 进行物资信息统计\\n\printf(\输入 0 退出系统\\n\printf(\请选择功能:\scanf(\getchar(); switch(select) { case 1:CreatStock();goto START; break; case 2:CreatInstock();goto START; break; case 3:Creatoutstock();goto START; break; case 4:SearchMenu();goto START; break; case 5:CountMenu();goto START; break; case 0:printf(\谢谢使用!再见\\n\default:printf(\按键错误,请重新选择!\\n\}