cout<<"Over"<<endl;
}
int main(){
rectangleclass r;
int length,width;
cout<<"Input the length:"<<endl;
cin>>length;
cout<<"Input the width:"<<endl;
cin>>width;
r.GetNum(length,width);
r.Show();
[Quote=引用 4 楼 wanggang999 的回复:]
line 1786???你这文件够长的啊,
方便的话把代码贴上来看看呗。
既然你就给出这些东西,不如看看MSDN怎么说的吧:
Error Message
INTERNAL COMPILER ERROR(compiler file file, line number)
The compiler cannot generate correct code for a construct, probably due to the combination of an expression and an optimization option. Try removing one or more optimization options and recompiling th…
[/Quote]
那个CPP不是我的文件
Error Message
INTERNAL COMPILER ERROR(compiler file file, line number)
The compiler cannot generate correct code for a construct, probably due to the combination of an expression and an optimization option. Try removing one or more optimization options and recompiling the function containing the line indicated in the error message.
You can probably fix the problem by removing one or more optimization options. To determine which option is at fault, remove options one at a time and recompile until the error message goes away. The options most commonly responsible are /Og, /Oi, and /Oa. Once you determine which option is responsible, you can disable it using the optimize pragma around the function where the error occurs and continue to use the option for the rest of the module.
The Microsoft Knowledge Base has more information about C1001; see http://support.microsoft.com/default.aspx?scid=kb;en-us;134650.
Try rewriting the line where the error is reported, or several lines of code surrounding that line. If that doesn't work, contact Microsoft Product Support Services.