sscanf problem
#1

What is problem if i got this

sscanf warning: Strings without a length are deprecated, please add a destination size.

How to fix that ? +REP if helped
Reply
#2

sscanf(something, "s[128]", something);

You need to add [value] to the format field on every "s", which represents strings. Value is length (e.g. [128] - s[128])
Reply
#3

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
sscanf(something, "s[128]", something);

You need to add [value] to the format field on every "s", which represents strings. Value is length (e.g. [128] - s[128])
Oh thank you fixed

NOTICE: its say i must spred reputation around i promise i will tommorrow PM you that i gived you reputation

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)