高手求助!!!!急急急!!!
24 int MainMenuChoice(void) (这行显示错误 123.c 24: 说明语法错误){
int iChoice;
clrscr();
printf("\n\t%s","WELCOME TO STUDENT ARCHIVES SYSTEM");
printf("\n\n\n\t MAIN MENU ");
printf("\n\t 1.Input students' information.");
printf("\n\t 2.Append students' information.");
printf("\n\t 3.Amend students' information.");
printf("\n\t 4.Delete students' information.");
printf("\n\t 5.Show students' information.");
printf("\n\t 6.Quit.");
printf("\n\n\n\n\n\t Enter choice(1-6)==>");
scanf("%d",&iChoice);
fflush(stdin);
if(iChoice<1||iChoice>6)
{
printf("You input a error number\n\n Enter choice(1-6)==>");
scanf("%d",&iChoice);
fflush(stdin);
}
return iChoice;
}
错误 123.c 24: 说明语法错误
哪里语法错误??怎么改???
[[it] 本帖最后由 zwh811 于 2008-10-10 18:36 编辑 [/it]]