5. strtol:將字串視為任意進制,轉為長整數. long int strtol ( const char * str, char ** endptr, int base );. ex: char buffer[] = "1011";.
確定! 回上一頁