Question: Stage 1 Define four arrays, two for the database and two for the player's creatures. ( the sample file on the course website will help
Stage
Define four arrays, two for the database and two for the player's creatures. the sample file on the course website will
help with this
Use of a dimensional D array to store the creature names, ie D creature array rows columns
accounts for null value
Use of a dimensional D integer array to store creature stats health and attack ieD integer array
rows columns.
For example note the use of symbolic constants, ie #define MAXCREATURES etc:
Define a D array of creatures to store the creatures' names. For example:
char dbcreatures MAXCREATURESSTRINGLENGTH
Define a D array of integers to store the creatures' stat information. For example:
int dbstatsMAXCREATURESSTATSCOUNT;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
