sscanf skipping?
#3

Quote:
Originally Posted by Finn
Посмотреть сообщение
Use quiet specifiers ( "{" and "}" )

pawn Код:
sscanf("1 2 3", "i{ii}", var);
var = 1.

pawn Код:
sscanf("1 2 3", "{i}i{i}", var);
var = 2.

pawn Код:
sscanf("1 2 3", "{ii}i", var);
var = 3.
Thank you
Reply


Messages In This Thread
sscanf skipping? - by armyoftwo - 05.12.2010, 10:09
Re: sscanf skipping? - by Finn - 05.12.2010, 10:13
Re: sscanf skipping? - by armyoftwo - 05.12.2010, 10:14

Forum Jump:


Users browsing this thread: 1 Guest(s)