【文件属性】:
文件名称:hash算法演示C++
文件大小:4.09MB
文件格式:RAR
更新时间:2015-06-01 19:38:45
hash C++ 哈希 演示
for(i=0;i<19;i++)
hash[i]=0;
for(i=0;i<19;i++)
{
l=num[i];
if(hash[l]==0)
hash[l]=num[i];
else {
do{l=(l+1);
}while (hash[l]!=0);
hash[l]=num[i];
}
}
str0.Format("]",hash[0]);
str1.Format("]",hash[1]);
str2.Format("]",hash[2]);
str3.Format("]",hash[3]);
str4.Format("]",hash[4]);
str5.Format("]",hash[5]);
str6.Format("]",hash[6]);
str7.Format("]",hash[7]);
str8.Format("]",hash[8]);
str9.Format("]",hash[9]);
str10.Format("]",hash[10]);
str11.Format("]",hash[11]);
str12.Format("]",hash[12]);
str13.Format("]",hash[13]);
str14.Format("]",hash[14]);
str15.Format("]",hash[15]);
str16.Format("]",hash[16]);
str17.Format("]",hash[17]);
str18.Format("]",hash[18]);
【文件预览】:
hash算法演示
----1cd4b776ed0b()
--------散列表()
----fcb0a4c8e9f2()
--------HashTable_Demo()
----b03836382002()
--------hash()
网友评论
- 可以用,不过对我没太大帮助。。。呃呃。
- 可以用,但和我需要的不一样。
- 里面东西没有说明,看得不是很明白
- 不错的资源,里面有3个vc6.0的工程,不过没说明还要琢磨一下。。。