C语言函数共99篇 第5页
C/C++ round 函数-猿说编程

C/C++ round 函数

C/C++ round 函数 - 在 C 语言中 round 函数用于对浮点数 float 或者 double 或者 long double 四舍五入,也是一个比较常用的函数 ,语法如下: #include //需要包含头文件 extern float roundf...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
020450
C/C++ floor 函数-猿说编程

C/C++ floor 函数

C/C++ floor 函数 - 在 C 语言中 floor 函数用于对浮点数 float 或者 double 或者 long double 向下取整,也是一个比较常用的函数 ,语法如下: #include //需要包含头文件 extern float floorf...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
016480
C/C++ _wcsupr_s 函数 – unicode 字符串小写转大写-猿说编程

C/C++ _wcsupr_s 函数 – unicode 字符串小写转大写

C/C++ _wcsupr_s 函数 – unicode 字符串小写转大写 - /* *描述:此类函数是用于将unicode字符串中的小写转大写 * *参数: * [in/out] _Str:将该字符串中的大写字符转换为小写 * [in] _Size:...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
010420
C/C++ ceil 函数-猿说编程

C/C++ ceil 函数

C/C++ ceil 函数 - 在 C 语言中 ceil 函数用于对浮点数 float 或者 double 或者 long double 向上取整,也是一个比较常用的函数 ,语法如下: #include //需要包含头文件 extern float ceilf(fl...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
011220
C/C++ _strupr_s 函数 – 字符串小写转大写-猿说编程

C/C++ _strupr_s 函数 – 字符串小写转大写

C/C++ _strupr_s 函数 – 字符串小写转大写 - /* *描述:此类函数是用于将字符串中的小写字符转为大写字符 * *参数: * [in/out] _Str:将该字符串中的大写字符转换为小写 * [in] _Size:拼接后...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
023070
C/C++ _wcslwr_s 函数 –  unicode 字符串大写转小写-猿说编程

C/C++ _wcslwr_s 函数 – unicode 字符串大写转小写

C/C++ _wcslwr_s 函数 – unicode 字符串大写转小写 - /* *描述:此类函数是用于将unicode字符串中的大写字符转为小写 * *参数: * [in/out] _Str:将该字符串中的大写字符转换为小写 * [in] _S...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
016430
C/C++ _strlwr_s 函数 – 字符串大写转小写-猿说编程

C/C++ _strlwr_s 函数 – 字符串大写转小写

C/C++ _strlwr_s 函数 – 字符串大写转小写 - /* *描述:此类函数是用于将字符串中的大写字符转为小写 * *参数: * [in/out] _Str:将该字符串中的大写字符转换为小写 * [in] _Size:拼接后的字...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
019580
C/C++ atol函数-猿说编程

C/C++ atol函数

C/C++ atol函数 - 在 stdlib.h 中 atol 函数,可用于将 char 字符串转为 long 长整数类型,语法如下: /* *描述:此类函数是把 value转换成一个以空格结尾的字符串,并存储在string中(至多33个字...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
012550
C/C++ strtol 函数-猿说编程

C/C++ strtol 函数

C/C++ strtol 函数 - /* *描述: * 把参数 str 所指向的字符串根据给定的 base 转换为一个长整数(类型 long int 型), * base 必须介于 2 和 36(包含)之间,或者是特殊值0,一般设置为2/8/1...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
011681
C/C++ strtod函数-猿说编程

C/C++ strtod函数

C/C++ strtod函数 - 在 stdlib.h 中 atof 函数,可用于将 char 字符串转为 float / double 浮点数类型,而 C 语言中 strtod 函数,同样也能将 char 字符串转为 float / double 类型,语法如下: ...
猿说编程的头像-猿说编程钻石会员猿说编程3年前
013771