Who helps me out on a more advanced c++ problem? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Who helps me out on a more advanced c++ problem?

https://code.sololearn.com/cIwnsAlMBygP/?ref=app

6th Mar 2017, 3:20 PM
Stephane Kolijn
Stephane Kolijn - avatar
2 Answers
+ 5
what is the code suppose to do?
6th Mar 2017, 3:36 PM
DeleteThisAccount
0
it reads in name and number from keyboard. so name, number, name, number. and than will calculate averages after the instances are created. in the constructor a map is build so u can later access the different instances. but somewhere there it is going wrong. although the error part can not be hughly wrong. for example: delete the last for loop in the program and it will compile and execute.
6th Mar 2017, 4:36 PM
Stephane Kolijn
Stephane Kolijn - avatar