getchecking() doesn't, but TotalBalance which is a member of Account does get changed when the two values are added.
I think I know the problem, but not sure how to fix it.
The variables for savings and checking are showing up, so those are fine. However, I don't think they are getting used inside of the + operator, so its throwing out a strange number.
I've tried a few different ways of combing them, such as
CustMain = Customers[0] + Customers[1];
[CustMain would be from Customer CustMain]
and I was going to use that with the
cout << total.getTotalBalance << endl;
since it is what was changed in the operator.
That doesn't work though.
--Edit--
I also tried using
cout << CustMain.getTotalBalance << endl;
, from an example I looked at, but that just brings up quite a few errors.