327 views
Problem : I have my class called MyPerson: class MyPerson { string myname; long myscore; public: MyPerson(string myname="", long myscore=0); void setMyName(string myname); void setMyScore(long myscore); string getMyName(); long ... not compatible with the member function with red lines under the the 2 people[j] in the print method Am I doing something wrong here?
asked
Jan 4, 2020
alecxe
7.5k points