sscanf - extracting ints from string (+REP)
#1

Hello...
so I have a variable from OnDialogResponse callback - inputtext which contains 2 numbers that I would like to extract but it doesn't work...
Код:
sscanf(inputtext, "ii", s_ID, s_Pos);
EDIT: the inputtext string looks like: (ID: %d, Position: %d) Name and I need those 2 %d's
Reply


Messages In This Thread
sscanf - extracting ints from string (+REP) - by Itzhak E. - 01.12.2014, 13:30
Re: sscanf - extracting ints from string (+REP) - by Galletziz - 01.12.2014, 15:40
Re: sscanf - extracting ints from string (+REP) - by Jefff - 01.12.2014, 15:57
Re: sscanf - extracting ints from string (+REP) - by Itzhak E. - 01.12.2014, 19:09

Forum Jump:


Users browsing this thread: 1 Guest(s)