Study Guide > Missouri University of Science & Technology - CS 1575maze.cpp


/* Here in the .cpp you should define and implement everything declared inthe .h file.*/#include "maze.h"void get_identity(string &my_id){my_id = "cjjycb";}string * build_matrix(int rows){string *matrix = new string[rows];return matrix;}void fill_matrix(string *matrix, int rows){for (int i = 0; i < rows; i++){getline(cin, matrix[i]);}return;}void print_matrix(string *matrix, int rows){for (int i = ...[Show More]

Preview 1 out of 3 pages
Purchase this document to unlock the blurred part and the rest of the document

Unlock Now

Reviews( 0 )