Question: Hello, I need a C++ formula for solving word searches. I will be given a file with words to find in the word search. One
Hello, I need a C++ formula for solving word searches. I will be given a file with words to find in the word search. One word will be in each line. Some words may not appear on the grid. I need a function that will find the words on the grid. The grid file has one line containing the number of rows, one line containing the number of columns, and the third line containing the string containing the whole word search.
I have a function that reads in the grid and make the respective 5x8 grid[][] array. However, I am having difficulty coming up with a function to find the words. The words can be found in any of the eight directions.
oipyejixwgsztacrqdpqaqdxsakpdequyorkfcqe
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
