标准 C 实用程序库 stdlib.h
具有以下函数名称:
(字符串为“a”):
- 托夫
- 同意
- 伊藤
(字符串为“str”):
- 努力
- 控制
- strtod
为什么字符串有时称为“a”,有时称为“str”?
最佳答案
a
代表ASCII
,所以在atoi中就是ASCII
转整数。 See here . ato
函数系列已被 str
函数弃用。
关于c - 为什么 "string"在标准C库函数名中缩写为 "a"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17128470/