What have I done wrong? [sscanf2]
#10

Quote:
Originally Posted by Hargrave
Посмотреть сообщение
Oh so I may just write in e.g 128 and if I not sue more than 128 characters, it won't give warning. So it is better using higher lenght instead of short lenght?

And that is just if s is there? or what since I have another one with just "u" shall I add anything to it? Like lenght?
Well, I use 64 lenght for reasons and I have no problem so far. It's your decision though.

No, you don't need to. Only on 's', use lenght and on arrays the size. More details can be found on the original thread of Sscanf.
Reply


Messages In This Thread
What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:20
Re: What have I done wrong? [sscanf2] - by NotIntegrated - 28.07.2013, 11:26
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:26
Re: What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:36
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:40
Re: What have I done wrong? [sscanf2] - by NotIntegrated - 28.07.2013, 11:41
Re: What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:43
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:46
Re: What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:50
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:53

Forum Jump:


Users browsing this thread: 4 Guest(s)