C 语言提供了几个标准库函数,可以将字符串转换为任意类型(整型、长整型、浮点型 ... int num; char * str = "100"; num = atoi(str); printf("The string 'str' is %s ...
確定! 回上一頁