Question: I need to code a program in C++ that creates a matrix (2D Array) of constant size and be able to search that array to

 I need to code a program in C++ that creates a I need to code a program in C++ that creates a matrix (2D Array) of constant size and be able to search that array to find words (that I need to put in the array). We use the operators:

char ** build_matrix(int rows, int cols),

void fill_matrix(int rows, int cols, char **matrix),

void print_matrix(int rows, int cols, char **matrix),

void delete_matrix(int rows, char **matrix), and

void matrix_search(int sol[], string word, int rows, int cols, char **matrix)

I do not know how to put words into an array, that is where I am stuck. Let me know if more details are needed.

Assignment description Finding patterns in data, like text files, or arrays of pixel values, is the basis of many more advanced methods, for example, image recognition in Al, or text processing. This week, you will write a program to input and store a 2D matrix of data of user-defined size, and then find a segment of data in that matrix that matches a search key, regardless of its orientation or direction. Assignment description Finding patterns in data, like text files, or arrays of pixel values, is the basis of many more advanced methods, for example, image recognition in Al, or text processing. This week, you will write a program to input and store a 2D matrix of data of user-defined size, and then find a segment of data in that matrix that matches a search key, regardless of its orientation or direction

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!