28.07.2013, 11:53
Quote:
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? |
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.