stricmp

M

Michael Sgier

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
 
V

Victor Bazarov

Michael said:
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
 
W

Walt Stoneburner

Try using strcasecmp() instead of stricmp() and see if that solves your
problem.
-wls
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top