day41

#include 

using namespace std;
class shape
{
protected:
    int c;
    int s;
public:
    shape(){}
    shape(int c,int s):c(c),s(s)
    {
        cout<<"有参构造"<day41_第1张图片

你可能感兴趣的:(c++,开发语言)