Posts: 737
Threads: 338
Joined: Jan 2013
Hi,
Код:
SELECT Names,Pass,Xp,Money FROM players Where Names='%s'
I want to load with sscanf. But i don't want to load Names and Pass, but i don't want to load just xp and Money
Posts: 385
Threads: 10
Joined: Dec 2013
Reputation:
0
this ain't sscanf, that's either SQLite, or MySQL, it looks terrible though..
what do you want to load?
Posts: 737
Threads: 338
Joined: Jan 2013
I want to know, how to load, but not to write to variable something with what simbol?
Posts: 737
Threads: 338
Joined: Jan 2013
Yes this:
Код:
sscanf( _QuerySize, "p<|>s[24]s[129]ii", Your_name_enum, Your_pass_enum, Your_exp_enum, Your_money_enum);
But now if i want to load, for ex: Name, i need to do like that:
Код:
sscanf( _QuerySize, "p<|>{s[24]}s[129]ii", Your_name_enum, Your_pass_enum, Your_exp_enum, Your_money_enum);