searching for char string containing a '/'
I have a C program and there's a place where I have a constant string that contains a '/', such as
char str = "</script>";
One line of code uses a call to 'strstr' to look for this constant within a larger string. Running my program inside of 'ddd', I see the large string contains the above constant, but the call fails. I thought I might need to include a backslash in front of the forward slash to let it know I mean that particular character, and not some other use. Is there some other kind of modification I need to make to the above constant? Thank you.