Hi,
(Bear with me here, total C++ noob)
I'm currently making a simple ATM program for our Programming Subject. I got around to making the core components of the ATM program like the balance inquiry, withdraw and deposit. However, I'm having trouble with the PIN Change function.
Basically, after making the new PIN code, I want to re-direct to a new PIN entry page that will re-direct to the Main Menu once the inputted PIN code is the same as the new PIN code made in the PIN Change function.
The problem is, the Main Menu is already called when I first start the program. If I call it again (as we all know), the "function redefinition" error comes up.
So my question is, is there any way I can re-call the Main Menu function if its already used?
Concept Map of what I'm talking about can be found here (I can't post my codes right now, so this should at least clarify what I'm referring to.)
http://i.imgur.com/DLJj2Q7.png