C++中问题
#include<iostream>using namespace std;
#define pi 3.14
int main()
{
float r;
cout<<"请输入圆的半径:";
cin>>r;
cout<<"圆的周长是:"<<2*pi*r<<end1;
cout<<"圆的面积是:"<<pi*r*r<<end1;
return 0;
}
书上写的怎么老是调试不出来呢 调试完总是出现这句话Error spawning cl.exe。
2010-06-16 15:35
2010-06-16 15:37
2010-06-17 14:04