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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started