Write a program using C++ that allows you to write stats of a monster and save it to a file. Make sure the stats are in a structure. This program also allows you to open the file and read the stats of...


Write a program using C++ that


allows you to write stats of a monster and save it to a file. Make sure the stats are in astructure.


This program also allows you to open the file and read the stats of the monster. (Print what was read onto the screen -- put the values into a structure. If you put the info into the file via binary, you will need to read it via binary too.)


Use the error stream (either cerr, clog, or stderr) to print out errors if the files do not open.




Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here