Question: #include #include #include typedef struct RoomData { char * * roomArray; / * the 2 d char array representing the room shared by Jethro and
#include
#include
#include
typedef struct RoomData
char roomArray; the d char array representing the room shared by Jethro and Cletus
int numrows; the number of rows for the char roomArray
int numcols; the number of columns for the char roomArray
RoomData;
RoomData readDArray const char name ;
void printDArray RoomData room ;
void freeDArray RoomData room ;
void recFill RoomData room, int row, int col ;
change the following constants to addremove some cases for testing
const int numFiles ;
const int numTests ;
const char defaultFilenames "roomDefaulttxt "roomNewTeststxt;
const int defaultRow;
const int defaultCol;
DO NOT MODIFY THESE FUNCTIONS BELOW
int main int argc, char argv
int ij;
RoomData room;
printfRunning default test files:
;
for i; i
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
