I come, I see, I conquer

                    —Gaius Julius Caesar

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

12 2013 档案

摘要:有文本文件wordlist.txt,统计各个公司出现的频次。运行环境vc++6.0。代码如下:/* * 功能:统计文本文件中字符串的频率 * * 说明:pHeadG -> WordItem 1 -> WordItem 2 -> ... -> WordItem n -> NULL */#include #include #include /**********************数据结构与全局变量*************************/struct WordItem{ char *word; int count; struct WordItem *n 阅读全文
posted @ 2013-12-06 09:10 jcsu 阅读(1066) 评论(0) 推荐(0) 编辑