ConvertDataTypes.comConvert data types programming in one click !

Convert char* to unsigned char in C++

    14710 hits
  • char * vIn = "0";
  • unsigned char vOut = (unsigned char)strtol(vIn,NULL,10);