现利用哈希技术统计C源程序关键字出现的频度.pdfVIP

  • 12
  • 0
  • 约6.17千字
  • 约 17页
  • 2017-06-06 发布于湖北
  • 举报

现利用哈希技术统计C源程序关键字出现的频度.pdf

东华理工大学 课程设计实验报告 姓名 : 学号: 班级: 实验题目:数据结构课程设计之利用哈希技术统计C源程序关键字出现的频度 实验时间: 12月31 日 实验地点:软件楼 一、实验目的 加深对数据结构的了解 二、实验内容 三、实验步骤 #include iostream #include string #include iomanip using namespace std; const int TOTAL 39; //39个关键字 const int MAXLEN 10; //关键字长度 const int HASHLEN 41; //哈希表长度 int cont 0; //统计哈希表中的关键字个数 char KeyWords[TOTAL][MAXLEN] //构造二维数组存储39个关键字 { asm,auto,break,case,cdecl, char,const,continue,default,do, double,else,enu

文档评论(0)

1亿VIP精品文档

相关文档