Hexadecimal string turn INT64

zhaozj2021-02-08  212

#include __ INT64 STR2INT64 (CHAR * STR) {IF (str, "0x") || str = 2; __INT64 TMP = 0; int LEN = Strlen (STR); for (int i = 0; i

} TMP = NDECNUM * POW (16, LEN-I -1);} Return TMP;} else {return_atoi64 (str);}}

转载请注明原文地址:https://www.9cbs.com/read-1753.html

New Post(0)