stdlib标准库

  • atof

    double atof(const char *str) 把参数 str 所指向的字符串转换为一个浮点数(类型为 double 型)



  • atoi

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



results matching ""

    No results matching ""