Convert bin string to int number.
int Bin2Dec( LPSTR lpszBin )
returns numeric from bin string if successfully.
EX1
void Bin2Dec_ex1() { string str = "1010"; char* pchar = str.GetBuffer(20); int nn = Bin2Dec(pchar); out_int("",nn); // output 10 }
Hex2Dec, Byte2Hex
origin.h