C函数atoi()

C函数atoi()

int atoi(const char *str) 把参数 str 所指向的字符串转换为一个整数(类型为 int 型)。

atoi() 函数的声明

int atoi(const char *str)

posted @ 2020-07-17 14:11  CGoodHabits  阅读(150)  评论(0)    收藏  举报