摘要: 题目说明: 输入一个表示整数的字符串,把该字符串转换成整数并输出。例如输入字符串"345",则输出整数345。 程序代码: #include using namespace std; int StrToInt(const char* szValue, int nBase = 0, bool* bValid = NULL) { long long nValue = 0; ... 阅读全文
posted @ 2015-10-12 10:09 Quincy 阅读(185) 评论(0) 推荐(0) 编辑