Re: need some help
- From: Joe Wright <joewwright@xxxxxxxxxxx>
- Date: Sat, 10 Jun 2006 09:36:32 -0400
shailesh.budhaner@xxxxxxxxx wrote:
HiOn my system, string.h has an entry..
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:
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 ---
.
- References:
- need some help
- From: ash
- Re: need some help
- From: shailesh . budhaner
- need some help
- Prev by Date: Re: Example for an dynamically allocated associative array in C
- Next by Date: Re: casting
- Previous by thread: Re: need some help
- Next by thread: Is "?" a sequence point?
- Index(es):
Relevant Pages
|