--------------------Configuration: vs - Win32 Debug--------------------
Compiling...
Error spawning cl.exevs.exe - 1 error(s), 0 warning(s)什么意思,是不是我的vc坏了
Compiling...
Error spawning cl.exevs.exe - 1 error(s), 0 warning(s)什么意思,是不是我的vc坏了
文件没有了?不行,重安装应该可以解决~
# define PI 3.1415
double Area(double r )
{
return PI*r*r;
}
void main()
{
double radius,area;
while(true){
cout<<endl<<"please fill radio ";
cin<<radius;
if(radius==0.0) break;
if (radius<0.0){
cout<<endl<<"wrong ";
continue;
}
atea=Area(radius);
cout<<endl<<"Area is "<<area;
}
}
原文件是这样的