Home > Back-end >  C o help novice (the write the wrong)
C o help novice (the write the wrong)

Time:09-25

CodePudding user response:

int n;
STD: : cin & gt;> n;
Stu understudent *=new understudent [n].

CodePudding user response:

reference 1/f, double cup with wine reply:
int n;
STD: : cin & gt;> n;
Stu understudent *=new understudent [n].

Error display new Understudent "Understudent" without proper default constructor available is going on

CodePudding user response:

The new understudent [n] into a new Student [n]
  • Related