Re: need some help



shailesh.budhaner@xxxxxxxxx wrote:
Hi
u can use strstr function which returns int telling position of first
occurance of one string in other string
by using that position(index) u can return poiter.
ash wrote:

On my system, string.h has an entry..

char * strstr(const char *_s1, const char *_s2);

...suggesting strstr does not return int.

--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
.



Relevant Pages