摘要: 1、不用系统提供的字符串转int的功能,将一个字符串转换为对应的值#include using namespace std;static int StringToInt(string s){ int sum; for(int i=0;iusing namespace std;int CountZeroDemo(int n){ int count=0; int j; for(int i=1;i<=n... 阅读全文
posted @ 2014-08-27 10:24 不止所见 阅读(235) 评论(0) 推荐(0) 编辑