using c++ code
you will create a video game character management program.
We will be using a vector of structs as the basic data structure to manage our characters.
You will need to define a struct for your character with at least 5 fields. The fields
you choose should be relevent to characters in a game that you imagine. For example:
if you imagine a futuristic fish underwater rpg.. you may have a name field, a species field,
a attack type field, an HP field and a damage field among others.
Your project will also use basic file I/O with text files. Please download and
experiment with the fileIO.zip from doc share. It contains a basic file I/O example.
When your program begins you will ask the user if they would like to load data from a file,
enter it manually or generate it randomly. Entering it manually or generating it randomly
should be similar to project 3, however the data will now be stored in a vector of structs.
If you are reading your data in from a file, you should generate the vector of structs from
the inputted file data.
After your data is inputted, the user should be able to sort from any meaningful field. Your
user should also be able to select a single character to view, modify or delete. Your user
should also be able to add characters. The user should be able to continue to sort the characters
after the data has been changed.
When done the user should be able to save the data to a file to use next time.