The class ss
{protected:
Int bh.
Int lc;
Cstrings lx.
Cstrings qf.
Public:
Void set_ss (int a, b int, cstrings s, cstrings ss)
{
Bh=a; Lc=b;
Lx=s; Qf=ss;
}
Int get_bh (void)
{return bh. }
Int get_lc (void)
{return lc; }
Cstrings get_lx (void)
{return lx. }
Cstrings get_qf (void)
{return qf. }
};
The class setss: public ss {
Public:
Ss x [100];
Int num.
Int cnum;
Public:
.
CodePudding user response:
What you mean? Save to where?CodePudding user response:
Code can be so?CodePudding user response:
Void set_ss (int a, b int, cstrings s, cstrings ss){
Bh=a; Lc=b;
Lx=s; Qf=ss;
}
You this is not to be saved? Save the class member variables
CodePudding user response:
I forget I have to ask to ask, now look back, I don't know when I ask something,,,,