I have string "6A" how can I convert into hex value 6A? ... char c[2]="6A" char *p; int x = atoi(c);//atoi is deprecated int y = strtod(c,&p);// ...
確定! 回上一頁