strcmp Help!
#1

I'm really confused right now...
I've seen many people use the strcmp with different numbers, for e.g:

Код:
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
And some write like:-

Код:
if (strcmp("/mycommand", cmdtext, true, 5) == 0)
so what does the number represents? and what does it do when you reduce or increase it?

Thank you.
Reply


Messages In This Thread
strcmp Help! - by CopKing123 - 21.06.2016, 12:17
Re: strcmp Help! - by J0sh... - 21.06.2016, 12:18
Re: strcmp Help! - by CopKing123 - 21.06.2016, 12:19
Re: strcmp Help! - by J0sh... - 21.06.2016, 12:21
Re: strcmp Help! - by CopKing123 - 21.06.2016, 12:23
Re: strcmp Help! - by J0sh... - 21.06.2016, 12:26
Re: strcmp Help! - by CopKing123 - 21.06.2016, 12:28
Re: strcmp Help! - by Konstantinos - 21.06.2016, 12:36

Forum Jump:


Users browsing this thread: 1 Guest(s)