Answer to Question #95101 in C++ for Mualusi

Question #95101
• void loadFile(string) – Given a filename, create the corresponding maze. Print the
following message to cout: "Loading level file <level>", where <level> is replaced
by the filename. You need to populate two arrays: char** map and Entity** entities.
NOTE: if the file cannot be read, throw a FileException. If the maze dimensions given
on the first line of the level text file do not correspond to the provided map, thow a
MapException. Finally, when using pointers, throw NullPointerException where appropriate.
NullPointerException is a lot more informative than a segmentation fault, and
will help you debug your program
void draw() – Draw the map on the screen (cout). Note: the map array provides information
about walls and floors; you must combine this information with the list of entities
stored in the entities array.
1
Expert's answer
2019-09-23T05:04:05-0400
Dear Mualusi, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS