using namespace std;
Const double PI=3.14;
The class simplecircle {
Public:
Simplecircle (double r) {
The radius=new double (r);
}
Double getradius () {
Return * radius;
}
Simplecircle (simplecircle & amp; P) {
Double val=P.g etradius ();
The radius=new double (val);
}
~ simplecircle () {
Delete the radius.
}
Double getarea () {
Radius, return PI * (*) * (* radius);
}
Double getlen () {
Radius, return 2 * PI * (*);
}
Private:
Double * radius;
};
Int mian () {
Simplecircle a (1.2);
Cout
}
CodePudding user response:
Restart the or soCodePudding user response:
The main function of the wrongInt m 1 n () {to int m ai n () {
CodePudding user response:
Int main!!!!!! Not int mian...