I have an CHAR array, in that array, each "place" has this syntax: "xxx-yyy"
Where XXX is a Id value and YYY is a property.
I want to make a function that goes to a "place" in that array, for example array[2], and receives something like this "437-662", and splits it into 2 int variables, the result may be like this:
CHAR id = 437 and CHAR prop = 662.
How can i do that?
(no, i cant use struct or something....)