Name initItems Given Modifies A partial array of item structures Returns This function initializes a list of items for future use. It should set the short and long descriptions of all elements of the array to empty string, and sets the number of items to 0. Name initRooms Given Modifies A partial array of room structures Returns This function initializes a list of rooms for future use. It should sets the short and long descriptions of all elements of the array to empty string, the north/south/east/west exits values to NO_EXIT, and invoke initltems() on the room's item list. Name initWinData Given Modifies a winDataStruct structure Returns This function initializes the win data of the game. It should set the win message to an empty string, set the win room index to NO_EXIT, and invoke initItems() on the list of win items
Name initItems Given Modifies A partial array of item structures Returns This function initializes a list of items for future use. It should set the short and long descriptions of all elements of the array to empty string, and sets the number of items to 0. Name initRooms Given Modifies A partial array of room structures Returns This function initializes a list of rooms for future use. It should sets the short and long descriptions of all elements of the array to empty string, the north/south/east/west exits values to NO_EXIT, and invoke initltems() on the room's item list. Name initWinData Given Modifies a winDataStruct structure Returns This function initializes the win data of the game. It should set the win message to an empty string, set the win room index to NO_EXIT, and invoke initItems() on the list of win items.
Step by step
Solved in 2 steps