摘要: 原型:int atoi (const char *nptr) 用法:#include <stdlib.h> 功能:将字符串转换成整型数;atoi()会扫描参数nptr字符串,跳过前面的空格字符,直到遇上数字或正负号才开始做转换,而再遇到非数字或字符串时('\0')才结束转化,并将结果返回。 说明:a 阅读全文
posted @ 2016-12-08 10:01 Stephanie7464 阅读(167) 评论(0) 推荐(0) 编辑