Chinaunix首页 | 论坛 | 博客
  • 博客访问: 309821
  • 博文数量: 214
  • 博客积分: 4258
  • 博客等级: 上校
  • 技术积分: 2021
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-02 09:16
个人简介

http://blog.csdn.net/ly21st http://ly21st.blog.chinaunix.net

文章分类

全部博文(214)

文章存档

2018年(16)

2015年(1)

2014年(2)

2012年(22)

2011年(173)

发布时间:2011-11-24 07:52:01

#include <vector>#include <iostream>#include <algorithm>using namespace std;bool shorted(const string &s1,const string &s2){     return s1.size()<= s2.size(); } bool gt6(const string &s){   return s.size()>= 6; } int main(){ &.........【阅读全文】

阅读(181) | 评论(0) | 转发(0)

发布时间:2011-11-23 14:45:46

文本查询程序版本1(我的版本) #include <string>#include <vector>#include <map>#include <set>#include <iostream>#include <fstream>#include <sstream>using namespace std;  //typedef multimap< string,int >::iterator  mulmap_.........【阅读全文】

阅读(324) | 评论(0) | 转发(0)

发布时间:2011-11-22 14:24:05

#include <iostream>#include <vector>#include <map>#include <stdexcept>#include <fstream>#include <sstream>using namespace std;void make_map(ifstream &in,map<string,string> &dict){     string key,word;     while(in>>key>>word,!in.eof()) { &.........【阅读全文】

阅读(215) | 评论(0) | 转发(0)

发布时间:2011-11-22 10:20:55

#include <iostream>#include <vector>#include <map>#include <stdexcept>#include <fstream>using namespace std; 版本1/* void count_word(ifstream &in,ofstream &out){     string word; &n.........【阅读全文】

阅读(326) | 评论(0) | 转发(0)

发布时间:2011-11-21 17:19:33

三十分钟掌握STL 这是本小人书。原名是《using stl》,不知道是谁写的。不过我倒觉得很有趣,所以化了两个晚上把它翻译出来。我没有对翻译出来的内容校验过。如果你没法在三十分钟内.........【阅读全文】

阅读(213) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册