• c语言课程设计服饰信息管理系统

    代码实现简单服饰信息管理int main() { int xh; while(1) { system("color 5f"); //操作菜单背景颜色 xh=caidan(); //调用菜单函数 switch(xh) //switch语句 { case 1:system("cls");luru();break; case 2:system("cls");liulan();break; case 3:system("cls");chaxunfushi();break; case 4:system("cls");xiugai();break; case 5:system("cls");shanchu();break; case 6:system("cls");exit(0); default:system("cls");putchar('\a'); printf("\n\t\t输入有误,请重新输入:\n");break; } } return 0; } int caidan() //菜单函数模块// { int xh; printf("\n"); printf("\t\t*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*\n"); printf("\t\t*= =*\n"); printf("\t\t*= 欢迎使用服装信息管理系统 =*\n"); printf("\t\t*= *=*=*=*=*=*=*=*=*=*=*=*=*=*=* =*\n"); printf("\t\t*= 1.服饰信息录入 =*\n"); printf("\t\t*= *=*=*=*=*=*=*=*=*=*=*= =*\n"); printf("\t\t*= 2.服饰信息浏览 =*\n"); printf("\t\t*= *=*=*=*=*=*=*=*=*=*=*= =*\n"); printf("\t\t*= 3.服饰信息查询 =*\n"); printf("\t\t*= *=*=*=*=*=*=*=*=*=*=*= =*\n"); printf("\t\t*= 4.服饰信息修改 =*\n"); printf("\t\t*= *=*=*=*=*=*=*=*=*=*=*= =*\n"); printf("\t\t*= 5.服饰信息删除 =*\n"); printf("\t\t*= *=*=*=*=*=*=*=*=*=*=*= =*\n"); printf("\t\t*= 6.退出系统 =*\n"); printf("\t\t*= =*\n"); printf("\t\t*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*\n"); printf("\t\t请输入序号进行选择:"); scanf("%d", &xh); return xh; //返回从键盘接收的选项 }

    0
    452
    601KB
    2013-12-24
    32
上传资源赚积分or赚钱