Click here to Skip to main content
15,913,334 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hot key questions Pin
Ryan Binns30-Aug-04 21:22
Ryan Binns30-Aug-04 21:22 
GeneralRe: hot key questions Pin
User 58385230-Aug-04 23:57
User 58385230-Aug-04 23:57 
GeneralRe: hot key questions Pin
Ryan Binns31-Aug-04 0:09
Ryan Binns31-Aug-04 0:09 
GeneralRe: hot key questions Pin
David Crow31-Aug-04 3:50
David Crow31-Aug-04 3:50 
GeneralCertOpenStore problem Pin
agrafov30-Aug-04 12:41
agrafov30-Aug-04 12:41 
GeneralIE Toolbar multiline Pin
DARK_GARRY30-Aug-04 11:48
DARK_GARRY30-Aug-04 11:48 
Generaloverriding wndproc WM_NOTIFY Pin
prateekkathuria30-Aug-04 11:37
prateekkathuria30-Aug-04 11:37 
Generalwordfind Pin
webmanc30-Aug-04 11:36
webmanc30-Aug-04 11:36 
I am unsure how to start solving this problem.
I though i would begin by using the Knuth-Morris-Pratt string matching
algorithm does any one have a sugestion as to where i should begin.


Input would be the Filename: wordfind.in

The input file consists of a square table and a list of words. A blank line follows the table and then the words to find, one per line.

This is a sample of what my file contains.

cenad
aatps
rnrpj
hello
wmneo

hello
apple
car
me
men
ran
woman

Output

Filename: wordfind.out

This is what I wish my program to do after the program is run:

hello (3, 0) E
apple (0, 3) S
car (0, 0) S
car (0, 0) SE
me (4, 1) N
men (4, 1) N
ran (2, 0) NE
woman NOT FOUND

Generalcin question from newbie Pin
StephenMcAllister30-Aug-04 11:35
StephenMcAllister30-Aug-04 11:35 
GeneralRe: cin question from newbie Pin
Christian Graus30-Aug-04 12:07
protectorChristian Graus30-Aug-04 12:07 
GeneralRe: cin question from newbie Pin
David Crow31-Aug-04 3:59
David Crow31-Aug-04 3:59 
GeneralClass of Classes! or #$@%#^#$@$@!!! Pin
CreepingFeature30-Aug-04 10:00
CreepingFeature30-Aug-04 10:00 
GeneralRe: Class of Classes! or #$@%#^#$@$@!!! Pin
Michael P Butler30-Aug-04 10:15
Michael P Butler30-Aug-04 10:15 
GeneralRe: Class of Classes! or #$@%#^#$@$@!!! Pin
Christian Graus30-Aug-04 12:12
protectorChristian Graus30-Aug-04 12:12 
GeneralRe: Class of Classes! or #$@%#^#$@$@!!! Pin
CreepingFeature30-Aug-04 21:07
CreepingFeature30-Aug-04 21:07 
GeneralGenerate/edit files Pin
Dody_DK30-Aug-04 9:25
Dody_DK30-Aug-04 9:25 
GeneralRe: Generate/edit files Pin
Christian Graus30-Aug-04 12:10
protectorChristian Graus30-Aug-04 12:10 
GeneralRe: Generate/edit files Pin
Dody_DK31-Aug-04 1:05
Dody_DK31-Aug-04 1:05 
GeneralRe: Generate/edit files Pin
David Crow31-Aug-04 4:02
David Crow31-Aug-04 4:02 
GeneralRe: Generate/edit files Pin
Christian Graus31-Aug-04 10:27
protectorChristian Graus31-Aug-04 10:27 
GeneralRunning .exe Pin
Naveed Shoaib30-Aug-04 8:57
Naveed Shoaib30-Aug-04 8:57 
GeneralRe: Running .exe Pin
Alexander M.,30-Aug-04 9:19
Alexander M.,30-Aug-04 9:19 
GeneralRe: Running .exe Pin
Archer28230-Aug-04 16:24
Archer28230-Aug-04 16:24 
GeneralRe: Running .exe Pin
User 21559730-Aug-04 19:55
User 21559730-Aug-04 19:55 
GeneralApplication Pin
BlackKnight7930-Aug-04 8:02
BlackKnight7930-Aug-04 8:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.