Question: C++: Trying to get a sortAccounts() function working where it will sort all of the vector structures based on the value of the accountNumber. So
C++: Trying to get a sortAccounts() function working where it will sort all of the vector structures based on the value of the accountNumber. So far, here is my structure, makeAccount(), and sortAccounts() function. I am currently getting the error that 'class std::vector



struct Account int accountNumber; string lastName string first Name double account Balance vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
