非专业程序员

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2008年11月27日

摘要: #include <iostream>#include <vector>#include <list>#include <string>#include <algorithm>using namespace std;int main(int argc,char **argv){string line1="We were her pride of 10 she named us: ";string line2="Benjamin, phoenix, the prodigal";string lin 阅读全文
posted @ 2008-11-27 22:21 曲仁岗 阅读(210) 评论(0) 推荐(0) 编辑

摘要: #include <iostream>#include <vector>#include <list>#include <string>#include <algorithm>using namespace std;int main(int argc,char **argv){string numerics("0123456789");string str("ab2c3d7R4E6");string::size_type pos=0;while((pos=str.find_first_of(nu 阅读全文
posted @ 2008-11-27 20:58 曲仁岗 阅读(128) 评论(0) 推荐(0) 编辑