Pf
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
How i check word in row and column in 2D word search Game in c++?
-
How i check word in row and column in 2D word search Game in c++?
It depends. If you know in advance what is the word, then the program would simply scan rows and columns of the matrix of letters, searching for the word. On the other hand, if you don't know in adavance the word, then you have to use a dictionary (and possibly invent an algorithm smarter than the brute force).