都不知道写了些什么东西,结构体用的时候也不定义一下,函数申明的参数和调用的参数个数都不一样。 无语
[ 本帖最后由 yuccn 于 2013-7-24 20:55 编辑 ]
程序代码:void firstWindow()
{int n;
printf("\n\n\n\n\n\n");
printf(" **********欢迎使用患者住院管理系统**********\n");
Sleep(1000);
n=secondWindow();
switch(n)
{case 1:{int d;d=adminLand();
switch(d)
{case 1:{
int m;m=adminWindow();
switch(m)
{case 1:AddtheInfo(&tListInfo);break;
case 2:SavetheInfo(&tListInfo);break;
case 3:ModifytheInfo(&tListInfo);break;
case 4:FindtheInfo(&tListInfo);break;
case 5:DeletetheInfo(&tListInfo);break;
case 6:tkeychange();break;
case 7:endWindow();break;
}
}
break;
default:endWindow(); break;}
break;}
case 2: {int e;e=doctorLand();
switch(e)
{ case 1:{ int f;f=doctorWindow();
switch(f)
{case 1:;break;
case 2:;break;
case 3:tkeychange();break;
case 4:FindtheInfo(&tListInfo);break;
case 5:endWindow();break;
}
}break;
case 2:{int n;n=nurseWindow();
switch(n)
{case 1:FindtheInfo(&tListInfo);break;
case 2:tkeychange();break;
case 3:endWindow();break;
}
}break;
}
}
case 3:clear();break;
case 4:ghostsave();break;
case 5:endWindow();break;
}
}你这段代码的tListInfo这个参数没有声明,懂吗