Simple C++ Implementation of ATM
Please clone this repository and create a C++ project with the source files. This project was originally developed on Xcode 11.7.
Enter the absolute path to tell the program where to find a data file. An example data.txt
is provided.
There are 4 levels of menu:
Level 1
Level 2: After log in
Level 3: Select an account
- Select
Cancel
will return to level 2.
Level 4: Select an operation
- Select
Cancel
will return to level 3.
When shut down the system (option 3 in level 1), all the user information will be saved in the file of given path. The file is in .txt
format for debug convenience.
The pattern of the data file is shown below:
Number_of_user
CardNum Card_Number_1
PIN PIN_1
Number_of_account
Account_name_1 Account_balance_1
...
CardNum Card_Number_2
...