I need the code to a c++ class called ewallet. the class should have variables such as the ewallet id as well as the name of the holder of that ewallet and a password. the functions in this class should include but NOT LIMITED TO: a display function which displays the information of the account along with the balance, an deposit function where the user is able to add more money a deduct function where the user uses or takes some of the money, a save function where these derails are saved onto my laptop, a load function where these details are loaded onto the screen. i know this is a bit messy so for context this class is for a project to make an online store without any of the graphics or anything and i need the class to work on its own for now. any additional functions or variables that you believe would improve the class are more than welcome.
I need the code to a c++ class called ewallet. the class should have variables such as the ewallet id as well as the name of the holder of that ewallet and a password. the functions in this class should include but NOT LIMITED TO: a display function which displays the information of the account along with the balance, an deposit function where the user is able to add more money a deduct function where the user uses or takes some of the money, a save function where these derails are saved onto my laptop, a load function where these details are loaded onto the screen. i know this is a bit messy so for context this class is for a project to make an online store without any of the graphics or anything and i need the class to work on its own for now. any additional functions or variables that you believe would improve the class are more than welcome.
Step by step
Solved in 2 steps with 1 images