文件名称:利用Hash技术统计C源程序中关键字的频度
文件大小:684KB
文件格式:RAR
更新时间:2011-11-04 11:41:45
数据结构课程设计 hash
数据结构课程设计,利用Hash技术统计C源程序中关键字的频度:扫描一个C源程序,用Hash表存储该程序中出现的关键字,并统计该程序中的关键字出现的度。用线性探测法解决Hash冲突。设Hash函数为:Hash(Key)=[(Key的首字母序号)*100+(Key的尾字母序号)] Mod 41。关键字39个。
【文件预览】:
程序
----hash.opt(48KB)
----hash.plg(698B)
----Debug()
--------vc60.pdb(116KB)
--------caishu.c(1KB)
--------hash.pdb(569KB)
--------hash.exe(224KB)
--------vc60.idb(89KB)
--------hash.pch(2.04MB)
--------1.txt(122B)
--------hash.cpp(8KB)
--------hash.sbr(0B)
--------hebing.txt(2KB)
--------hash.obj(43KB)
--------h.cpp(9KB)
--------hash.bsc(273KB)
--------kouling.txt(665B)
--------hash.ilk(295KB)
--------2.txt(24B)
----hash.cpp(8KB)
----hash.ncb(41KB)
----hash.dsw(516B)
----hash.dsp(3KB)