c语言错误 error C2059: syntax error : '}'

来源:百度知道 编辑:UC知道 时间:2024/05/23 13:50:15
这是我部分程序,里面的错误有一个我完全不懂(error C2059: syntax error : '}'),请高手指教。(里面的其他错已解决,就剩这一个了!!)
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <ctype.h>
#include <string.h>
#include <iostream.h>
void main()
{
char select;
printf("\n\n\t 请输入查询的学历=:");
printf("\n\n\t 大专=1");
printf("\n\n\t 本科=2");
printf("\n\n\t 硕士=3");
printf("\n\n\t 博士=4");
do{
scanf("%c",&select);
getchar(); //读入回车符
if(!isdigit(select)) //如果不是数字字符
{
printf("\n\7Your select may be wrong, must enter the digit!\n");
_getch();
}
else
{
switch (select)
{
case '1': Find21();break;
case '2': Find22(); break;
case


do{
scanf("%c",&select);
getchar(); //读入回车符
...
}应该是一个do-while循环,while条件在哪里?肯定语法错误!

}
}
}
}
}

//最后面多了个}号,
//
do
{
}while();