Question: ( 3 points ) Make a wordsearch directory. Now your program will read in two text files, first a rectangular character grid of unknown dimensions

(3 points) Make a wordsearch directory. Now your program will read in two text files, first a rectangular character grid of
unknown dimensions and second a list of words (one per line) to find in that grid. The words may be horizontal, vertical, or
diagonal, backwards or forwards. Any spaces in either the grid or the word list should be ignored. Ignore case in both files.
The output should be a per-line display of the word's first letter location by row,column (no whitespace, 0-based indexing,
write -1,-1 if not found). At some point your program should have a dynamically-allocated 2-D array of chars (NO
STL/VECTORS) that is then searched systematically. Write the code in C++
( 3 points ) Make a wordsearch directory. Now

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 Finance Questions!