Question: 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

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.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!