Chinaunix首页 | 论坛 | 博客
  • 博客访问: 307528
  • 博文数量: 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-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_.........【阅读全文】

阅读(321) | 评论(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()) { &.........【阅读全文】

阅读(212) | 评论(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.........【阅读全文】

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

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

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

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

发布时间:2011-11-21 15:44:48

#include <iostream>#include <vector>using namespace std; template <typename T1,typename T2>T1 findInt(T1 t1,T1 t2, T2 val){   while (t1 != t2) {      if ((*t1)== val)         break;     .........【阅读全文】

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

登录 注册