Hello,
This is my first post in this forum.
I have a string s in the following format: -1234567890
Now I need to strip the '-' and convert every single digit into an int and place it into an array of ints:
t[0] = 1
t[1] = 2
t[2] = 3
t[3] = 4
...
For the conversion I tried this inside a for loop, but this didn't work: t[i] = atoi(s[i]);
Patrick