How to sum up objects with same name in c++

前端 未结 0 1808
无人共我
无人共我 2020-11-22 05:18

For example if I have the following, where one student can make multiple donations:

Class Student{
      public:
      string StudentName;
      int donation;         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题