Sscanf problem
#3

if you want to use the integer as a optional parameter (with the 50 as default), then just use
Код:
if(!sscanf(inputtext, "uI(50)", TargetID, Amount))
the "i" is uppercase: "I". each parameter writen uppercase will turn it into an optional() parameter.
Reply


Messages In This Thread
Sscanf problem - by Wesley221 - 22.06.2011, 19:42
Re: Sscanf problem - by Whitetiger - 22.06.2011, 20:07
Re: Sscanf problem - by Babul - 22.06.2011, 21:05

Forum Jump:


Users browsing this thread: 1 Guest(s)