4.源程序 #include
char Brand[20]; char Model[20];
char Manufacturar[20];//manufacturer 厂家 char Price[30] ; char Linkman[20]; struct car *next; } car,*cheliang; int init(cheliang &s); void shuru(cheliang &s); void shuchu(cheliang &s); void find (cheliang &s); void findBrand(cheliang &s); void findModel(cheliang &s); void change(cheliang &s);
void putfile(cheliang &s); void getfile(cheliang &s); void welcome();
void PrintfSurface() {
cout<<\
**************************************************************\ cout<<\*\
cout<<\ * Welcome To Use 车辆信息管理系统 *\ cout<<\*\ cout<<\
*
*
*
By:软件15-7刘子墨 *\ cout<<\
**************************************************************\
cout<<\初始密码123456\
} int jud=0;
void welcome() { int b; char code[7];
cout<<\请输入密码:\ while(b!=3) {
cin>>code; b++;
if(strcmp(code,\ {
if(b!=3)
cout<<\密码错误,请重新输入:\ continue; } else {
jud=1; break; } } } int main() {
system(\ PrintfSurface(); welcome(); if (jud==0) {
return 0; }
system(\
相关推荐: