SA-MP Forums Archive
[Tutorial] Strcmp explained/how does it work exactly. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] Strcmp explained/how does it work exactly. (/showthread.php?tid=250454)

Pages: 1 2


Re: Strcmp explained/how does it work exactly. - NoahF - 27.09.2012

Good job, excellent tutorial, I learned a lot from it! Thank you for posting this.


Re: Strcmp explained/how does it work exactly. - Zempist - 28.02.2013

really awesome explaination, great work. but, i actually dident know what strcmp was at all...for real haha.


Re: Strcmp explained/how does it work exactly. - mastermax7777 - 28.02.2013

useless tutorial.. u can get this by reading the wiki or your brain mh... expand it a little by adding more info about the length params why empty string return 0


Re: Strcmp explained/how does it work exactly. - ¤Adas¤ - 02.03.2013

One very important thing to realise, that strcmp also returns 0 if one of the strings has zero length! Not realizing this may cause (and have caused) many problems in scripts!


Re: Strcmp explained/how does it work exactly. - TheRaGeLord - 17.07.2015

Nice.. T haven't thought it works like that..

ehhh.. why Am I Replying to a 4 years old topic..