Help scanff
#1

This is my format

"#%d %s"

I need to take out the %d / integer..

sscanf(string, "'#'d{s[255]}", j);

Its what i did, but for some reason its doesn't work...
Can some one help me?
Reply
#2

I have this string for example:

#1 (23/10/2011 - 22:21:35) Blake Shelton - x

I need to take out the number 1 after the # to integer.
How to scan the string correctly?

I did "'#'d{s[255]}", but i get a warrning message to the server motd..
Reply
#3

erm. are you using the plugin or the old include version?
your sscanf line is ok, the quiet variable {s[255]} looks good, too.
Reply
#4

I've updated the include and the plugin to R5 But steel i get this error, seems something wrong with the include...

Hope ****** would be able to help me.
Reply
#5

....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)