91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 22KB
    文件類型: .c
    金幣: 1
    下載: 1 次
    發布日期: 2021-06-29
  • 語言: C/C++
  • 標簽: 網吧計費??

資源簡介

c語言網吧計費管理系統,經本人親自修改,適用于各種系統平臺,各種編譯器,移植性強

資源截圖

代碼片段和文件信息

#include“stdio.h“
#include“time.h“
#include“stdlib.h“
#include“string.h“
#include“conio.h“
#include“windows.h“
struct?user
{
char?ID_card[40];
char?user_card[10];
char?user_level[100];
float?add_money;
};
struct?linkList
{
struct?user?struct_user;
struct?linkList?*pNext;
};
struct?control
{
char?control_name[20];
char?control_password[15];
}control_person={“0607““12345“};
struct?tm?*?tmptr;?
time_t?secnow;?
int?hour1min1a[10]={0}b[10]={0}x=0y=0;
////////////////////////////////
void?enter(int?n);
void?tab(int?n);
void?start();
void?login();
void?mainmenu();
void?h_menu();
void?close();
void?buy_menu();
void?look_h();
void?xian_shi(struct?linkList?*pHead);
struct?linkList?*adduser(struct?linkList?*pHead);
struct?linkList?*addmoney(struct?linkList?*pHead);
struct?linkList?*online(struct?linkList?*pHead);
struct?linkList?*l(struct?linkList?*pHead);
void?save(struct?linkList?*pTemp);
struct?linkList?*readsave();
void?looks(struct?linkList?*pHead);
void?lookh(struct?linkList?*pHead);
/////////////////////
///////////////////
//////////////////
void?start()
{ int?i;
system(“cls“);
system(“title?0607“);
system(“mode?con?cols=100?lines=30“);
system(“color?7D“);
enter(7);
tab(4);
printf(“歡迎進入0607網吧計費系統?“);
enter(2);
tab(4);
printf(“正在加載....“);
for(i=0;i<4;i++){
Sleep(500);
printf(“\218“);
}
login();
}
//登陸函數
void?login()
{
char?name[20];
char?password[15];
while(1)
{
system(“cls“);
enter(7);
tab(3);
printf(“?????????????管理員登錄??????“);
enter(2);
tab(4);
printf(“尊姓大名:“);
fflush(stdin);
if(strcmp(gets(name)control_person.control_name)==0)
{
leap:??? system(“cls“);
enter(7);
tab(3);
printf(“?????????????管理員登錄??????“);
enter(2);
tab(4);
printf(“口訣:“);
fflush(stdin);
if(strcmp(gets(password)control_person.control_password)==0)
{
mainmenu();
break;
}
else
{
char?ch;
tab(4);
printf(“密碼錯了??!!\n“);
tab(4);
printf(“要不要再輸一次?。。?!?(Y/N):“);
scanf(“%c“&ch);
if(ch==‘Y‘?||?ch==‘y‘)
goto?leap;
else?if(ch==‘N‘?||?ch==‘n‘)
exit(0);
else
{
system(“cls“);
enter(7);
tab(1);
printf(“Y?or?N都不懂??回家抱孩子去吧?。n“);
tab(3);
exit(0);
}
}
}

else
{
char?i;
system(“cls“);
enter(7);
tab(4);
printf(“自己名字都不知道!笨?。。n“);
enter(3);
tab(4);
printf(“想不想再來一次機會?(Y/N):“);
scanf(“%c“&i);
if(i==‘Y‘?||?i==‘y‘)
continue;
else?if(i==‘N‘?||?i==‘n‘)
exit(0);
else
{
system(“cls“);
enter(7);
tab(3);
printf(“Y?or?N都不懂??回家抱孩子去吧??!\n“);
enter(10);
exit(0);
}
}
}
}
//enter函數
void?enter(int?n)
{ int?i;
for(i=0;i printf(“\n“);
}
//tab函數
void?tab(int?n)
{ int?i;
for(i=0;i printf(“\t“);
}
//mainmenu主菜單
void?mainmenu()
{
struct?linkList?*pHead=NUL

評論

共有 條評論