摘要: 1,字符串转整型(一)#include <stdlib.h>int atoi(const char *nptr);字符串转化为整型long atol(const char *nptr);字符串转化为长整型long long atoll(const char *nptr);long long atoq(const char *nptr);字符串转化为long long 类型英文手册很简单,直接上说明:The atoi() function converts the initial portion of the string pointed to by nptr to int. The 阅读全文
posted @ 2013-03-30 08:55 searchDM 阅读(6776) 评论(0) 推荐(0) 编辑