Monster Database Lab Re Visit Monsters Stats Weapons Time Writing C Program Furthermore Da Q37177108

Monster Database

In this lab we re-visit our monsters, stats, and weapons butthis time we are writing a C program. Furthermore, the data for thelair of monsters will be read from, and written to, binaryfiles.

Program Structure

The general structure of the program is to start by displaying alist of (single letter) commands that the user can invoke. Fromthere, a while loop will continually prompt the user for a command,execute it, and loop back for the next. We’ll use a switch block tocreate the logic for invoking the appropriate function(s) tocomplete each command.

Starter Code

The started code contains:

  • the required #include statements
  • a couple of #defines
    OR
    OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.