摘要:
原文链接:http://blog.csdn.net/tsinfeng/article/details/5844838 1、atoi 功 能:把一字符串转换为整数 用 法:int atoi(const char *nptr);详细解释:atoi是英文array to integer 的缩写。atoi( 阅读全文
摘要:
原文链接:http://blog.csdn.net/tsinfeng/article/details/5844838 1、atoi 功 能:把一字符串转换为整数 用 法:int atoi(const char *nptr);详细解释:atoi是英文array to integer 的缩写。atoi( 阅读全文
摘要:
转载:http://www.cnblogs.com/luxiaoxun/archive/2012/08/03/2621803.html 1、字符串数字之间的转换 字符串 字符数组(1)string --> char * string str("OK"); char * p = str.c_str() 阅读全文
|