Saving and reading data from a text file

Hi, I have been asked to create a banking program in C++, however i have been told that the data such as the account details (name, address, balance, id) needs to be stored into a text file for later use, however i have no clue where to start, as i have never done this before, or even how to build it into the program i have created.

Here is my main source code:

Any help will be great

Topic archived. No new replies allowed.