摘要:
代码功能:能够实现统计所给任意段落单词的总数和排序频率较高词汇的功能。文章字数不限,高频词汇取前十个。编程语言:c语言具体代码:// 字数统计_1.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include #include FILE *fp;//结构体:单词和单词出现的次数struct wordnum{ char str1[20]; int k;};//主函数int main(int argc, char 阅读全文