摘要: [toc] C语言提供了一系列函数把字符串转换为整数:atoi、atol、atoll和atoq。 1、包含头文件 2、函数声明 3、功能说明 atoi:把字符串nptr转换为int。 atol:把字符串nptr转换为long int。 atol:把字符串nptr转换为long long int。 a 阅读全文
posted @ 2020-04-14 10:14 码农有道 阅读(2160) 评论(0) 推荐(0) 编辑