Hi. Quick question. I am trying to debug a program and I can't seem to find anything on google.
The question relates to strstr(). I am connecting to a dictionary site using sockets and seeing if the given word is valid, by evaluating the html. Now, I have a pattern variable which contains the pattern I am looking for in the html. The only problem is, the pattern string has quotation marks in it so I have to escape them with '\'. Now I have tried to do strstr( buffer, pattern ) but it always seems to come out NULL, and I think it may be something to do with the quotation marks. Any idea?