471,120 Members | 1,551 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,120 software developers and data experts.

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 13004
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 Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.