[MySql] Players boot data
#5

You should read the sscanf thread, it tells you what each specifier does...

p is to specify a deliminator, when it finds that character you specified, it will move onto the next parameter.
I'm not too good at explaining things, but I will try.
Код:
// Example
// string is formatted as followed: "13|92.0|hello"
// sscanf will split the string into the parameters, using the deliminator '|'.
// pinteger = 13, pfloat = 92.0, pstr = "hello".

sscanf(string, "p<|>dfs[128]", pinteger, pfloat, pstr);
Reply


Messages In This Thread
[MySql] Players boot data - by [LTU]mindux9[TCS] - 05.01.2012, 17:33
Re: [MySql] Players boot data - by [LTU]mindux9[TCS] - 06.01.2012, 06:49
Re: [MySql] Players boot data - by Joe_ - 06.01.2012, 09:16
Re: [MySql] Players boot data - by [LTU]mindux9[TCS] - 06.01.2012, 10:44
Re: [MySql] Players boot data - by Joe_ - 06.01.2012, 11:03
Re: [MySql] Players boot data - by [LTU]mindux9[TCS] - 06.01.2012, 11:10
Re: [MySql] Players boot data - by [HiC]TheKiller - 06.01.2012, 11:27
Re: [MySql] Players boot data - by [LTU]mindux9[TCS] - 06.01.2012, 14:56
Re: [MySql] Players boot data - by [LTU]mindux9[TCS] - 06.01.2012, 14:59

Forum Jump:


Users browsing this thread: 1 Guest(s)