Hey, I have a small problem. I need to convert a char into an int, except the char has 2 values inside it.
For example
char c = 'v0';
int i = c - '0';
cout << i << "\n";
All that does is removes '0' from the first value which is v, how would I go about ignoring or jumping over the 'v' value straight into the 0 so that i can convert it into an int?
cheers