30.09.2012, 09:43
(
Последний раз редактировалось Swimor; 30.09.2012 в 10:16.
)
Hello,
For exemple i have string like this:
1,2,3,4,5
I want to create an array of numbers(ids), I tying to use sscanf like this:
I typing 1,2 and the result of array is: 0 0 0 0 0.
How i can fix this?
Update:
Fixed, I'm idiot i forget to change this:
to this:
You can lock this topic
For exemple i have string like this:
1,2,3,4,5
I want to create an array of numbers(ids), I tying to use sscanf like this:
Код:
sscanf(ids, "p<,>A<i>(-1)[5]", sendids);
How i can fix this?
Update:
Fixed, I'm idiot i forget to change this:
Код:
#include <sscanf>
Код:
#include <sscanf2>