c++填空题(bool数据类型) 请大虾指点

#include<iostream>

#include<string>

using namespace std;

string mark[2]={"is not","is"};

class Brand

{public:

string name;

int year;

public:

Brand(string s,int n)

{name=s;year=n;

cout<<"class Brand is created"<<endl;}

~Brand(){cout<<"class Brand is destroyed"<<endl;}

};

class writeTool

{

        1             ) 

bool isHard;

public:

writeTool(bool iH)

{isHard=iH;

cout<<"class writeTool is created"<<endl;}

~writeTool(){cout<<"class writeTool is destroyed"<<endl;}

};

class Pen:(           2              

{Brand brand;

int colorcode;

public:

Pen (          3              ):writeTool(iH),brand(ss,yy)

{colorcode=cc;

cout<<"class pen is created"<<endl;}

void show()

{

cout<<"colorcode:"<<colorcode<<endl;

cout<<"This writing tool"<<mark[isHard]<<"hard for thin papers."endl;

cout<<"The brand"<<brand.name<<"has exist for"<<hrand.year <<"year"<<endl;}

~Pen(){cout<<"class pen is destroyed"<<endl;}

};

int main()

{Pen pen(10,true,"handsome",1950);

(             4              );

return 0;}

 

1 public:

2 public Brand

3 int cc, bool iH, string ss, int yy

4 pen.show();

1 public :

2  public  writeTool , public Brand

3 int cc ,bool iH,string ss, int yy

4 pen.show();