Hi all!


Suppose I have a input char* tmp = "A12" and it'll match one of 3 cases:

if(the first char = A)
then store the value after A ( which is 12) into a integer var
else if( the first char = B)
then store the value after B into a integer variable
else if( the first char = C)
then store the value after C into a integer variable
else
//do nothing

Please help with the coding. Thanks in advance.

Dxxv