Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
182 user(s) are online (132 user(s) are browsing Forums)

Members: 1
Guests: 181

jarokuczi, more...

Headlines

 
  Register To Post  

strcmp behaviour[SOLVED]
Home away from home
Home away from home


See User information
Is it so that strcmp favours capitol letters before small ones?
Look at the avp2 line..


13 - Thirteen
50 First Dates
7 Seconds
A Knight's Tale
AVP2 Requiem
All The King's Men
Supernatural: The Complete Fourth Season
Terminator 2: Judgment Day
The Simpsons movie

13 - Thirteen
50 First Dates
7 Seconds
A Knight's Tale
All The King's Men
Avp2 Requiem
Supernatural: The Complete Fourth Season
Terminator 2: Judgment Day
The Simpsons movie

Why is this so? And is there an easy workaround for this?


Edited by Antique on 2011/12/11 21:06:15
X5000
Go to top
Re: strcmp behaviour
Home away from home
Home away from home


See User information
Use strcasecmp() not strcmp()

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: strcmp behaviour
Home away from home
Home away from home


See User information
Is that no case sensitive? :)

X5000
Go to top
Re: strcmp behaviour
Just can't stay away
Just can't stay away


See User information
@Antique

You've got it wrong, strcmp function is case sensitive, strcasecmp/stricmp functions are case insensitive.

There is also Stricmp() in utility.library that you can use if this is an Amiga program you are working on.

Go to top
Re: strcmp behaviour
Home away from home
Home away from home


See User information
Thanks guys. That did the trick.

X5000
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project