关于C++ 6.0 编译器的一个有关问题,请高手指教
关于C++ 6.0 编译器的一个问题,请高手指教
我在编译一个程序时出现了这样一个问题:(问题输出如下)
Compiling...
operator_reload.cpp
C:\Documents and Settings\Administrator\operator_reload.cpp(17) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Error executing cl.exe.
operator_reload.obj - 1 error(s), 0 warning(s)
我仔细检查过代码,没有问题,烦请赐教…………
------解决方案--------------------
这个是VC6.0的一个BUG。
不要用using namespace std;
改成
using std::cout;
using std::endl;就可以了
总体上代码改成以下方式就可以编译通过了。
这个是VC的BUG,与你的程序本身没有关系。
我在编译一个程序时出现了这样一个问题:(问题输出如下)
Compiling...
operator_reload.cpp
C:\Documents and Settings\Administrator\operator_reload.cpp(17) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Error executing cl.exe.
operator_reload.obj - 1 error(s), 0 warning(s)
我仔细检查过代码,没有问题,烦请赐教…………
------解决方案--------------------
这个是VC6.0的一个BUG。
不要用using namespace std;
改成
using std::cout;
using std::endl;就可以了
总体上代码改成以下方式就可以编译通过了。
这个是VC的BUG,与你的程序本身没有关系。