What have I done wrong? [sscanf2]
#9

Quote:
Originally Posted by _Zeus
Посмотреть сообщение
Why do you want to do that? The reason will store the size you gave and if you exceed that lenght, another warning will come up: sscanf warning: String buffer overflow
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?
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: 1 Guest(s)