为什么会报错呢?
:\VISUAL C++\gps.cpp(22) : error C2146: syntax error : missing ';' before identifier 'oldInt'
D:\VISUAL C++\gps.cpp(22) : error C2182: 'interrupt' : illegal use of type 'void'
D:\VISUAL C++\gps.cpp(22) : fatal error C1004: unexpected end of file found
Error executing cl.exe.gps.exe - 3 error(s), 0 warning(s)
这是怎么回事啊?
void interrupt oldInt(CAPPARGS);
是一个函数的声明。
但是interrupt是什么啊?
大家帮忙看看啊!