can sombody show me an example of how to use strstr()
Thanks
-Bob
can sombody show me an example of how to use strstr()
Thanks
-Bob
http://www.cplusplus.com/ref/cstring/strstr.html
Click the link. Search on http://google.com next time. It helps.
An less longer way:
strstr(string1, string2);
you could also look at how the function is set up in the string.h file.
That is the easiest method of figuring out how functions work and to learn new ones.
Hope this helps.