The large number of compiler errors are caused by a very small number of problems. See my first post on how to fix the "string" errors you're getting. Since the prof said you can't modify the .h files, I guess you should make the changes to the .cpp files. Or send him/her an email saying that the header files have compilation errors and send the examples.
It's unconscionable that the prof gave you header files that don't even compile. Frankly I'm not surprised that they didn't get their funding.
Okay, once you get through the errors in the header files, the code is very close to running correctly. Here are some of the things I found:
You need to implement
. Also, bankAccount::withdraw currently adds money instead of subtracting it.
That will get everything to compile (at least it did for me). Time to test the code.
There's an old saying: "garbage in, garbage out." That means if your input data is bad or your code that reads the input is bad, then the output will be wrong, even if all the processing code is correct. So I'd start by adding this temporary code right after the readFile() in main():
writeFile(fd.outSavingFile, fd.outCheckingFile, Caccounts, Saccounts, count);
This will make the program read the input file and write saving_account.csv and checking_account.csv. Check those files against bankData.csv and make sure they are correct (they won't be :) ). Fix the code as needed. Actually, I'll help you with one of the harder ones to find: bankAccount::setLastName() has a bug.
Once you have that working, remove the temporary code from main() and start testing the program. You will find some more problems, but they are easy to fix.
If you get stuck for more than an hour, post the problem in a reply.