首页 开发技术 C++     /    MFC哈希表小电话簿线性探测法除留取余法

MFC哈希表小电话簿线性探测法除留取余法

上传者: jubin4807 | 上传时间:2022/9/6 2:51:12 | 文件大小:13.26MB | 文件类型:rar
MFC哈希表小电话簿线性探测法除留取余法
问题描述:针对某个单位或个人的电话号码簿,设计一个哈希算法,并完成相应的建表和查表程序。
基本要求:设每个记录有下列数据项:电话号码、用户名、住址。
从键盘输入各记录,以用户名为关键字建立哈希表,哈希函数用除留取余数法构造,采用线性探测法解决冲突。
可以插入、查找、删除并显示给定用户名的记录,并计算查找长度,哈希表保存到文件中。
测试数据:取自己手机的电话号码簿中的若干个记录。
提高要求:将电话号码薄以文件方式保存到盘上,能够按用户名和电话号码两种方式建立哈希表并实现插入、查找、删除表中元素的功能。

文件下载

资源详情

[{"title":"(55个子文件13.26MB)MFC哈希表小电话簿线性探测法除留取余法","children":[{"title":"TelephoneBook","children":[{"title":"TelephoneBook.sln <span style='color:#111;'>985B</span>","children":null,"spread":false},{"title":"TelephoneBook","children":[{"title":"stdafx.cpp <span style='color:#111;'>4.97KB</span>","children":null,"spread":false},{"title":"HashByName.txt <span style='color:#111;'>591B</span>","children":null,"spread":false},{"title":"TelephoneBookDlg.cpp <span style='color:#111;'>6.52KB</span>","children":null,"spread":false},{"title":"TelephoneBook.vcxproj <span style='color:#111;'>6.30KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"TelephoneBook.ico <span style='color:#111;'>66.19KB</span>","children":null,"spread":false},{"title":"TelephoneBook.rc2 <span style='color:#111;'>682B</span>","children":null,"spread":false}],"spread":true},{"title":"DlgInsert.cpp <span style='color:#111;'>2.63KB</span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'>2.88KB</span>","children":null,"spread":false},{"title":"DlgDelete.h <span style='color:#111;'>446B</span>","children":null,"spread":false},{"title":"DlgSearch.h <span style='color:#111;'>495B</span>","children":null,"spread":false},{"title":"TelephoneBook.vcxproj.filters <span style='color:#111;'>2.59KB</span>","children":null,"spread":false},{"title":"DlgSearch.cpp <span style='color:#111;'>1.92KB</span>","children":null,"spread":false},{"title":"TelephoneBook.aps <span style='color:#111;'>108.57KB</span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'>234B</span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'>2.92KB</span>","children":null,"spread":false},{"title":"TelephoneBook.h <span style='color:#111;'>485B</span>","children":null,"spread":false},{"title":"DlgInsert.h <span style='color:#111;'>524B</span>","children":null,"spread":false},{"title":"DlgDelete.cpp <span style='color:#111;'>1.72KB</span>","children":null,"spread":false},{"title":"TelephoneBook.cpp <span style='color:#111;'>2.41KB</span>","children":null,"spread":false},{"title":"addressBook.txt <span style='color:#111;'>161B</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc120.pdb <span style='color:#111;'>6.33MB</span>","children":null,"spread":false},{"title":"TelephoneBook.res <span style='color:#111;'>68.89KB</span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'>904.86KB</span>","children":null,"spread":false},{"title":"TelephoneBookDlg.obj <span style='color:#111;'>77.63KB</span>","children":null,"spread":false},{"title":"TelephoneBook.Build.CppClean.log <span style='color:#111;'>1.89KB</span>","children":null,"spread":false},{"title":"TelephoneBook.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'>4.09KB</span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'>59.97KB</span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'>326B</span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'>2.86KB</span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'>4.66KB</span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'>1.52KB</span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'>2.31KB</span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'>658B</span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'>6.26KB</span>","children":null,"spread":false},{"title":"TelephoneBook.lastbuildstate <span style='color:#111;'>178B</span>","children":null,"spread":false}],"spread":false},{"title":"DlgSearch.obj <span style='color:#111;'>52.70KB</span>","children":null,"spread":false},{"title":"vc120.idb <span style='color:#111;'>2.16MB</span>","children":null,"spread":false},{"title":"DlgInsert.obj <span style='color:#111;'>46.72KB</span>","children":null,"spread":false},{"title":"TelephoneBook.log <span style='color:#111;'>3.43KB</span>","children":null,"spread":false},{"title":"DlgDelete.obj <span style='color:#111;'>37.20KB</span>","children":null,"spread":false},{"title":"TelephoneBook.obj <span style='color:#111;'>42.01KB</span>","children":null,"spread":false},{"title":"TelephoneBook.pch <span style='color:#111;'>41.25MB</span>","children":null,"spread":false}],"spread":false},{"title":"TelephoneBookDlg.h <span style='color:#111;'>897B</span>","children":null,"spread":false},{"title":"TelephoneBook.rc <span style='color:#111;'>13.95KB</span>","children":null,"spread":false},{"title":"HashByPhoneNum.txt <span style='color:#111;'>591B</span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'>4.05KB</span>","children":null,"spread":false}],"spread":false},{"title":"TelephoneBook.v12.suo <span style='color:#111;'>35.00KB</span>","children":null,"spread":false},{"title":"说明.txt <span style='color:#111;'>159B</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"TelephoneBook.pdb <span style='color:#111;'>6.21MB</span>","children":null,"spread":false},{"title":"HashByName.txt <span style='color:#111;'>563B</span>","children":null,"spread":false},{"title":"TelephoneBook.exe <span style='color:#111;'>208.50KB</span>","children":null,"spread":false},{"title":"addressBook.txt <span style='color:#111;'>138B</span>","children":null,"spread":false},{"title":"TelephoneBook.ilk <span style='color:#111;'>1.19MB</span>","children":null,"spread":false},{"title":"HashByPhoneNum.txt <span style='color:#111;'>563B</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明