Hello
I have a string named "test" with "(1,2)"
How do I extract "1" and "2" from the string and put them as integers?
I tried
int l1, l2;
...
sscanf(teste,"s%d", &l1);
to try to extract the first number but it doesn’t work.
Thanks in advance!