468,456 Members | 1,580 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,456 developers. It's quick & easy.

stricmp

Hi
in linux i get the error
stricmp not found or something like that.
i only find strcmp in /usr/include
what is the difference? can i use that? or what do i need to do with
the above error?
Thanks
Michael
Jul 6 '06 #1
2 12884
Michael Sgier wrote:
in linux i get the error
stricmp not found or something like that.
There is no such standard function.
i only find strcmp in /usr/include
what is the difference?
'strcmp' is a standard function, 'stricmp' is not.
can i use that? or what do i need to do with
the above error?
You need to implement it yourself or use some other function
that can work as a replacement.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jul 6 '06 #2
Try using strcasecmp() instead of stricmp() and see if that solves your
problem.
-wls

Jul 7 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.