C++各种排序+哈希查找(数据结构作业)

时间:2013-11-24 11:26:08
【文件属性】:
文件名称:C++各种排序+哈希查找(数据结构作业)
文件大小:4KB
文件格式:RAR
更新时间:2013-11-24 11:26:08
排序 哈希 查找 数据结构 作业 #include #include #include using namespace std ; #define M 131 // 表长 char *Hush[M] = { 0 }; //存放哈希表 char *Hush_Words[32] = { "auto" , "break" , "case" , "char" , "const" , "continue" , "default" , "do" , "double" , "else" , "enum" , "extern" , "float" , "for" , "goto" , "if" , "int" , "long" , "register" , "return" , "short" , "signed" , "sizeof" , "static" ,"struct" , "switch" , "typedef" , "union" , "unsigned" , "void" , "volatile" , "while" } ; //定义字符串数组,存放32个关键字 int HUSH ( char * ); //哈希函数 void Search () ; //查找 void Print () ; //打印哈希表
【文件预览】:
排序.cpp
完美哈希-C关键字.cpp

网友评论