I want to create a bank program in C++ that will store customer information (maybe in a text file or some sort) like:
name
account type
account number
account balance
deposit and withdraw functions
edit account
delete account
show all account.
Class bankAccounts
{
private:
string customerName
char accType
int accountNo
double accBalance
public:
bankAccounts()
~bankAccounts()
displayAccount()
depositAccount()
withdrawAccount()
deleteAccount()
showAccounts()
how would i use the constructor? maybe to set the balance and accountnum to 0. how could i do this and also how would i implement other functions?