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

  • 大小: 6.84MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-08-25
  • 語言: C/C++
  • 標簽: CY??

資源簡介

此項目來源于我們的生活,也是我大一時C課設項目。希望大家能仔細推敲源碼,體會其中的奧秘,寫出更好的項目出來。

資源截圖

代碼片段和文件信息

#include
#include
#include
#include
#include
#include?
struct?bank
{
char?name[10];
char?password[10];
char?repassword[10];
float?money;
struct?bank*pnext;
};
struct?bank*phead?=?NULL;
char?cardnumber[20];
void?creatheadlist();
void?creatnewlist(struct?bank*phead);
void?denglu(char*?cardnumber?struct?bank*?phead);
void?savedate(struct?bank*phead);
void?searchdate();
void?online(struct?bank*phead);
void?title();
void?exitsystem();
int?main()
{
struct?bank*pnew?=?NULL;
system(“color??0f“);
title();
printf(“\n“);
printf(“\t\t\t---------------------------------\t\n“);
printf(“\t\t\t|1:開戶\t\t\t\t|\n“);
printf(“\t\t\t---------------------------------\t\n“);
printf(“\t\t\t---------------------------------\t\n“);
printf(“\t\t\t|2:登陸\t\t\t\t|\n“);
printf(“\t\t\t---------------------------------\t\n“);

printf(“\t\t\t---------------------------------\t\n“);
printf(“\t\t\t|3:余額查詢\t\t\t|\n“);
printf(“\t\t\t---------------------------------\t\n“);

printf(“\t\t\t---------------------------------\t\n“);
printf(“\t\t\t|4:退出\t\t\t\t|\n“);
printf(“\t\t\t---------------------------------\t\n“);
printf(“\n“);
printf(“\t\t\t請選擇你想要的服務項:“);
creatheadlist();
while?(1){

char?ch?=?_getch();
switch?(ch)
{
case?‘1‘:
creatnewlist(phead);
break;
case?‘2‘:
online(phead);
break;
case?‘3‘:
searchdate();
break;
case?‘4‘:
printf(“\n“);
exit(0);
break;
}
}
return?0;
}
void?creatheadlist()
{
phead?=?(struct?bank*)malloc(sizeof(struct?bank));
phead->pnext?=?NULL;
}
void?creatnewlist(struct?bank*phead)
{
int?i?=?0?np?=?0;
char?ch1ch2;
struct?bank*zp?=?phead;
while?(zp->pnext?!=?NULL)
{
zp?=?zp->pnext;
}

printf(“\n“);
struct?bank*pnew?=?NULL;
pnew?=?(struct?bank*)malloc(sizeof(struct?bank));
printf(“\n“);
printf(“\t\t\t請輸入您的姓名:\t“);
scanf(“%s“?pnew->name);
printf(“\n“);
printf(“\t\t\t請設置您的新密碼:?“);
scanf(“%s“?pnew->password);
printf(“\n\t\t\t請再次輸入您的密碼:?“);
scanf(“%s“?pnew->repassword);

while?(i? if?(0?!=?strcmp(pnew->password?pnew->repassword))
{
printf(“\t\t\t兩次輸入的密碼不一致請重新輸入!\n“);
printf(“\t\t\t您還有%d次機會\n“?3?-?i);
printf(“%26c“?32);
scanf(“%s“?pnew->repassword);
i++;
}
else?if?(0?==?strcmp(pnew->password?pnew->repassword))
{
break;
}
if?(0?==?3?-?i)
{
printf(“\t\t\t對不起,您的機會已用光\n“);
return;
}
}
printf(“\t\t\t開戶成功,請稍后!\n“);
printf(“\t\t\t“);
for(i=0;i<35;i++)
{
Sleep(45);
printf(“>“);
}
system(“cls“);
title();
printf(“\t\t\t賬號:%s\n“?pnew->name);
printf(“\t\t\t密碼:%s\n“?pnew->password);
srand((unsigned?int)time(NULL));
pnew->money?=?0;
sprintf(cardnumber?“%d%d%d%d%d%d“
rand()?%?9000?+?1000
rand()?%?9000?+?1000
rand()?%?9000?+?1000
rand()?%?9000?+?1000
rand()?%?1

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????82776??2018-06-09?15:05??ATM機DEMO\ATM機DEMO\1.jpg

?????文件?????????15??2018-06-15?15:02??ATM機DEMO\ATM機DEMO\1.txt

?????文件???????4020??2018-06-09?15:47??ATM機DEMO\ATM機DEMO\ATM機DEMO.vcxproj

?????文件????????944??2018-06-06?17:55??ATM機DEMO\ATM機DEMO\ATM機DEMO.vcxproj.filters

?????文件???????9635??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\Debug\ATM機DEMO.log

?????文件????????154??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\Debug\ATM機DEMO.tlog\ATM機DEMO.lastbuildstate

?????文件????????546??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\Debug\ATM機DEMO.tlog\cl.command.1.tlog

?????文件??????18276??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\Debug\ATM機DEMO.tlog\CL.read.1.tlog

?????文件????????304??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\Debug\ATM機DEMO.tlog\CL.write.1.tlog

?????文件????????978??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\Debug\ATM機DEMO.tlog\link.command.1.tlog

?????文件???????2158??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\Debug\ATM機DEMO.tlog\link.read.1.tlog

?????文件????????288??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\Debug\ATM機DEMO.tlog\link.write.1.tlog

?????文件?????527360??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\Debug\vc120.idb

?????文件?????167936??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\Debug\vc120.pdb

?????文件??????77058??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\Debug\源.obj

?????文件???????8826??2018-06-17?00:05??ATM機DEMO\ATM機DEMO\Release\ATM機DEMO.log

?????文件????????156??2018-06-17?00:05??ATM機DEMO\ATM機DEMO\Release\ATM機DEMO.tlog\ATM機DEMO.lastbuildstate

?????文件????????566??2018-06-17?00:05??ATM機DEMO\ATM機DEMO\Release\ATM機DEMO.tlog\cl.command.1.tlog

?????文件??????17962??2018-06-17?00:05??ATM機DEMO\ATM機DEMO\Release\ATM機DEMO.tlog\CL.read.1.tlog

?????文件????????230??2018-06-17?00:05??ATM機DEMO\ATM機DEMO\Release\ATM機DEMO.tlog\CL.write.1.tlog

?????文件???????1070??2018-06-17?00:05??ATM機DEMO\ATM機DEMO\Release\ATM機DEMO.tlog\link.command.1.tlog

?????文件???????2514??2018-06-17?00:05??ATM機DEMO\ATM機DEMO\Release\ATM機DEMO.tlog\link.read.1.tlog

?????文件????????230??2018-06-17?00:05??ATM機DEMO\ATM機DEMO\Release\ATM機DEMO.tlog\link.write.1.tlog

?????文件?????118784??2018-06-17?00:05??ATM機DEMO\ATM機DEMO\Release\vc120.pdb

?????文件?????106847??2018-06-17?00:05??ATM機DEMO\ATM機DEMO\Release\源.obj

?????文件??????11624??2018-06-15?15:08??ATM機DEMO\ATM機DEMO\源.cpp

?????文件???31588352??2018-06-17?00:08??ATM機DEMO\ATM機DEMO.sdf

?????文件????????976??2018-06-06?17:53??ATM機DEMO\ATM機DEMO.sln

????..A..H.?????16384??2018-06-17?00:08??ATM機DEMO\ATM機DEMO.v12.suo

?????文件??????????0??2018-06-17?00:09??ATM機DEMO\Debug\1.txt

............此處省略18個文件信息

評論

共有 條評論