I having a error, the program is not able to run. I'm using Xcode. the error say " linker command failed with exit code 1 (use -v to see invocation)". At first I went online to try to find what it means, it said that I might have a duplicated definition of something that is not in their right files. Thank you in advance at looking at the code. it is in different files and it is separated by /*-----------------*/. Thank you.
In your main cpp file, you don't want to include the class cpp files (lines 61 and 62), just the hpp header file.
You can define all the class functions declared in the hpp header file in a single class cpp file - it looks like you have separate files for the deposit and withdraw class functions.