摘要: //问题来源为ACM,将一串字符串缩写变大写,简称。//这两段代码共用到的头文件#include#include#include#include#include#include #include #include using namespace std;//string小写转大写void toUpper(string &str){ int length = 0; length = str.length(); for(int i=0; i='a') str[i] = str[i]-32; }}//隔断指定字符vector split(string ... 阅读全文
posted @ 2014-02-19 17:04 Jimmy_5 阅读(609) 评论(0) 推荐(0) 编辑