摘要:
本程序用C语言实现单词的识别,包含一些C++语言的一些用法,主要的函数有单词识别函数、存储函数、冒泡排序挑出此处最高的十个单词,本程序可以识别英文单词和标点符号,该程序的数据类型大多用的数组和字符串类型,源程序:#include#include#include#includeusing namespace std;string s[100];int b[100];long f;//***排序查询频率最高的十个单词***void paixu(int b[]){int i=f-1;int y;string x;coutf-10){int l=0;for(int j=0;jb[j+1]){ y=b[ 阅读全文
posted @ 2014-03-02 17:50
LDoctor
阅读(2274)
评论(1)
推荐(0)