error C2143: syntax error : missing ';' before 'catch'
char Path1_Parameter()
{
char path='1';
return path;
}
char Catch_Parameter1()
{
char catch='1'; //显示这句出错
return catch;
}
//这句有4个错误
error C2059: syntax error : '='
error C2309: catch handler expected a parenthesized exception declaration
error C2319: 'catch' must be followed by a compound statement. Missing '{'
奇怪的是:char Path1_Parameter()这个函数并没有报错。
我用的编译器是VC6.0
遇到过类似错误的,给点意见吧,谢谢