我是一个c++的初学者。<br />用visual c++6.0进行程序编译时,总会出现一个这样Compiling...<br />Error spawning cl.exe<br /><br />1.exe - 1 error(s), 0 warning(s)错误提示,程序是书上的,下面就是<br /># include<iostream.h><br />void main()<br />{int a,b,result;<br />cout<<"please input two numbers:
";<br />cin>>a>>b;<br />result=3*a-2*b+1;<br />cout<<"result is"<<result<<endl;<br />}<br />我实在找不出有什么错误,会不会和我安装的软件有关。请指点我一下吧!谢啦! |
|