SSCANF storing weird numbers?
#10

Quote:
Originally Posted by DiddyBop
Посмотреть сообщение
ok i put in an if statement, i put print("i cant bla bla"); under first brackets, and put the rest of the good script, under the else statement.

And its not going to else, is stopping at // cant parse data
Ok here's the fixed version:

Код:
sscanf(row,"e<p<|>ds[24]s[50]dddddddds[30]ddds[128]>",store)
shove it in your if statement and test. If it doesn't work, i need you to print out "row" for us (one guess would be that your not using a delimiter in row at all (well, i mean you're using space not | :P)).
Reply


Messages In This Thread
SSCANF storing weird numbers? - by DiddyBop - 26.08.2010, 21:46
Re: SSCANF storing weird numbers? - by [L3th4l] - 26.08.2010, 21:49
Re: SSCANF storing weird numbers? - by bigcomfycouch - 26.08.2010, 21:51
Re: SSCANF storing weird numbers? - by DiddyBop - 26.08.2010, 22:03
Re: SSCANF storing weird numbers? - by DRIFT_HUNTER - 27.08.2010, 00:08
Re: SSCANF storing weird numbers? - by DiddyBop - 27.08.2010, 00:33
Re: SSCANF storing weird numbers? - by Kyosaur - 27.08.2010, 01:08
Re: SSCANF storing weird numbers? - by DiddyBop - 27.08.2010, 01:21
Re: SSCANF storing weird numbers? - by DiddyBop - 27.08.2010, 01:24
Re: SSCANF storing weird numbers? - by Kyosaur - 27.08.2010, 01:56

Forum Jump:


Users browsing this thread: 1 Guest(s)