I have been working on this project for two and half days now. I know that isn't a long time, but it has been almost nonstop. I am so tired of looking at a screen haha.
I have these last two errors.
2\bankingsystem.cpp(46) : error C2511: 'int Account::getPassCode(void) const' : overloaded member function not found in 'Account'
1> 2\bankingsystem.h(9) : see declaration of 'Account'
2\bankingsystem.cpp(68) : error C2511: 'double Account::getBalance(void) const' : overloaded member function not found in 'Account'
Now, I know what the mean.
I know what they are asking.
But, how do I fix them without destroying what I have done?
Btw, try to avoid starting new topics about the same subject, just keep the original one going. I am sure I am not the only one who prefer to see 5 pages in one topic, rather than new topics about the same thing popping up all the time. And it is rather annoying when there are replies to multiple topics that cover the same ground over & over. Even though you marked the other one as solved - this doesn't stop people replying.
I know that the advice I gave in other topic probably means you would make major changes to your code, but I seriously urge you to take that advice on board. Am not trying to be mean, but if I was your tutor I would give your current code a grade of C+ say or 60%. If you make the changes I suggested, you might get a B+ or A 80 to 90% say.
I know it is hard : you have spent time on this, then I come along and say you need to change your whole approach, meaning you almost start again. But what I am saying is constructive, and would allow you to have less code that is much more elegant - always a good thing IMO. And the reward is higher marks, and a realisation that you are doing it well and more properly.
Also, what I have suggested you do, is not that hard to carry out. Use the constructor that I proposed, and get rid of the getters & setters.
If you are concerned that my advice isn't right, then show your tutor your current code, then ask what they think of my advice to you. Don't be afraid to point them to the particular posts on this forum. I think it should be OK for you to get help on a forum, especially if you can demonstrate to your tutor that you have learnt some good practice.
Also, if I am lucky, there are plenty of others on this forum with much more experience & knowledge than me, who might back up and reinforce what I am saying to you.