#include<>#include<>#include<>#include<>#defineN5structuser{ charID_card[30]; charuser_card[10]; charuser_level[50]; floatadd_money; //充值};structLinkList{ structuserstruct_user; LinkList*pNext;};structcontrol{ charcontrol_name[20]; charcontrol_password[15];}control_person={"apollo","apollo"};//管理员账户和密码设置////////////////////////////////voidenter(intx);voidtab(intx);voidstart();voidlogin();voidmainmenu();voidsubmenu1();voidsubmenu2();voidsubmenu3();voidsubmenu4();voidxian_shi(LinkList*pHead);LinkList*adduser(LinkList*pHead);LinkList*addmoney(LinkList*pHead); //充值LinkList*shang_wang(LinkList*pHead); //上网LinkList*zhu_xiao(LinkList*pHead); //注销会员voidsave(LinkList*pTemp);LinkList*readsave();voidcha_xun_shen(LinkList*pHead);voidcha_xun_hui(LinkList*pHead);///////////////////////启动voidstart(){ system("cls"); for(intk=0;k<2;k++) { for(inti=0;i<N;i++) { system("colorB"); enter(7); tab(3); printf("星星网吧计费管理系统"); enter(2); tab(4); printf("■"); enter(1); tab(4); for(i=0;i<100000000;i++) {} system("cls"); //circle1end enter(7); tab(3); printf("星星网吧计费管理系统"); enter(2); tab(4); printf("■"); enter(1); tab(4); for(i=0;i<100000000;i++) {} system("cls"); //circle2end enter(7); tab(3); printf("星星网吧计费管理系统"); enter(2); tab(4); printf("■"); enter(1); tab(4); for(i=0;i<100000000;i++) {} system("cls"); //circle3end enter(7); tab(3); printf("星星网吧计费管理系统"); enter(2); tab(4); printf("■"); enter(1); tab(4); for(i=0;i<100000000;i++) {} system("cls"); //circle4end enter(7); tab(3); printf("星星网吧计费管理系统"); enter(2); tab(4); printf("■"); enter(1); tab(4); for(i=0;i<100000000;i++) {} system("cls"); //circle5end enter(7); tab(3); printf("星星网吧计费管理系统"); enter(2); tab(4); printf("■"); enter(1); tab(4); for(i=0;i<100000000;i++) {} system("cls"); //circle6end enter(7); tab(3); printf("星星网吧计费管理系统"); enter(2); tab(4); printf("■"); enter(1); tab(4); for(i=0;i<100000000;i++) {} system("cls"); //circle7end enter(7); tab(3); printf("星星网吧计费管理系统"); enter(2); tab(4); printf("■"); enter(1);
c语言网吧计费系统源代码 来自淘豆网m.daumloan.com转载请标明出处.