emperorevil
Programmer
How would I go about seeing if a certain string is in a file? I tried reading the file, turning it into a CString by doing:
CString file2(file);
then trying
check=file2.Find("string"
the file has the string "string" in it, but it always comes up as not finding it.. can you help?
CString file2(file);
then trying
check=file2.Find("string"
the file has the string "string" in it, but it always comes up as not finding it.. can you help?