- 博客(2)
- 收藏
- 关注
原创 <stdlib.h>中定义的函数(二)
十一描述C 库函数 void abort(void) 中止程序执行,直接从调用的地方跳出。声明下面是 abort() 函数的声明。void abort(void)参数NA返回值该函数不返回任何值。实例
2022-03-26 20:47:31 185 1
原创 <stdlib.h>中定义的函数(上)
一、atof(str)1、描述:把参数str所指向的字符串转换为一个浮点数(类型为 double 型)。2、参数:str-- 要转换为浮点数的字符串。3、实例:代码:#include <stdio.h>#include <stdlib.h>#include <string.h> int main(){ float val; char str[20]; strcpy(str, "98993489");...
2022-03-19 23:59:53 291
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人