不再傻傻分不清:atoi, itoa, iota

来源:互联网 发布:沙钢网络培训教育学院 编辑:程序博客网 时间:2024/05/20 20:05

atoi

Array to Integer
字符数组(字符串)转化为整数。golang标准库与C++标准库均有

itoa

Integer to Array
整数转化为字符串。golang标准库与C++标准库均有

iota

希腊字母。golang中定义常量经常用的iota关键字,C艹中用于Store increasing sequence
emmmmm, 都是递增

原创粉丝点击