for (counter = 0; counter <= 3; counter++)
string binNow = hexstr.substr (counter,1);
//i need to convert the string binNow into a char
//this char will the be passed into a function Hex2Dec
//in the function is a simple switch statement
//which returns an int based on the char value passed
int ret = Hex2Dec(binNow);
i have tried everything i can think off.
anyone have any idea's?