D
Dilip
I have a situation where I have a bunch of strings stuffed into a
vector.
I need to run through each of them and locate approximate (or complete)
matches to them in another file (which also contains a string on each
line). If I am searching for CAD I need to locate even something that
looks like ACAD or CADINC (along with the exact match for CAD of
course).
I ran into some examples using istream_iterator and have an idea how to
do this if I am just looking for an exact match.
Can someone point me in the right direction what I need to do if I have
to make substring searches too?
thanks!
vector.
I need to run through each of them and locate approximate (or complete)
matches to them in another file (which also contains a string on each
line). If I am searching for CAD I need to locate even something that
looks like ACAD or CADINC (along with the exact match for CAD of
course).
I ran into some examples using istream_iterator and have an idea how to
do this if I am just looking for an exact match.
Can someone point me in the right direction what I need to do if I have
to make substring searches too?
thanks!