搜索资源列表
count_word
- 统计文本中的单词个数,并按出现次数降序输出(支持大文本),原版是http://www.oschina.net/code/snippet_176897_7944。采用hash_map,GCC采用#include <ext/hash_map>。修改版本是VS2010采用#include <hash_map>using namespace stdext VC调用hash_map的例子,值得学习。-The number of words in the statistics tex
map
- 使用c++,利用STL中的map容器,实现对单词频率的统计。-Use c++, use the STL map container, to achieve the word frequency statistics.