By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,897 Members | 1,955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,897 IT Pros & Developers. It's quick & easy.

stricmp

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.