我在 Visual Studio 2005 & 中的代码2008年& 2010 年是工作,但在 borland c++ 5.02 不工作,并且有错误
我在 Visual Studio 2005 & 中的代码2008年& 2010 可以工作,但在 Borland c++ 5.02 中不行。
错误是:
Info :Compiling C:\Program Files\BORLAND C++ 5.02\BIN\noname00.cpp
Error: noname00.cpp(85,26):Qualifier 'amaliat' is not a class or namespace name
Error: noname00.cpp(85,28):Function call missing )
Warn : noname00.cpp(87,2):Parameter 'mab' is never used
Warn : noname00.cpp(87,2):Parameter 'date' is never used
Error: noname00.cpp(91,26):Qualifier 'amaliat' is not a class or namespace name
Error: noname00.cpp(91,28):Function call missing )
Warn : noname00.cpp(93,2):Parameter 'mab' is never used
Warn : noname00.cpp(93,2):Parameter 'date' is never used
Error: noname00.cpp(102,24):Qualifier 'amaliat' is not a class or namespace name
Error: noname00.cpp(102,17):If statement missing )
Error: noname00.cpp(115,2):Identifier 'chapeKol' cannot have a type qualifier
Error: noname00.cpp(280,2):Declaration syntax error
Error: noname00.cpp(467,1):Declaration missing ;
Error: noname00.cpp(467,1):Compound statement missing }
我该如何解决它?我需要在 Borland c++ 5.02 中运行此代码 请帮我。 链接到我的代码: http://www10.speedyshare.com/files/26564837/download/mycode.txt
My code in visual studio 2005 & 2008 & 2010 works but in Borland c++ 5.02 is does not.
The error is:
Info :Compiling C:\Program Files\BORLAND C++ 5.02\BIN\noname00.cpp
Error: noname00.cpp(85,26):Qualifier 'amaliat' is not a class or namespace name
Error: noname00.cpp(85,28):Function call missing )
Warn : noname00.cpp(87,2):Parameter 'mab' is never used
Warn : noname00.cpp(87,2):Parameter 'date' is never used
Error: noname00.cpp(91,26):Qualifier 'amaliat' is not a class or namespace name
Error: noname00.cpp(91,28):Function call missing )
Warn : noname00.cpp(93,2):Parameter 'mab' is never used
Warn : noname00.cpp(93,2):Parameter 'date' is never used
Error: noname00.cpp(102,24):Qualifier 'amaliat' is not a class or namespace name
Error: noname00.cpp(102,17):If statement missing )
Error: noname00.cpp(115,2):Identifier 'chapeKol' cannot have a type qualifier
Error: noname00.cpp(280,2):Declaration syntax error
Error: noname00.cpp(467,1):Declaration missing ;
Error: noname00.cpp(467,1):Compound statement missing }
How can I solve it? I need to run this code in Borland c++ 5.02
Please help me.
link to my code :
http://www10.speedyshare.com/files/26564837/download/mycode.txt
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为它在抱怨
amaliat::VARIZenum
语法。尝试仅指定VARIZenum
。I think it's complaining about the
amaliat::VARIZenum
syntax. Try specifying justVARIZenum
.