47 #define _wbMain int main(int _argc, char** _argv) 50 #define ERROR(b) { cout<<b<<endl; return 0; } Define the trie structure.
heap, using a linear array. It can be used to sort values.
a definition of a class Log, which can output to the cmd window and the log file simultaneously. In wb-log.cpp, there are a Log variable "lout", which can be directly used just like "cout". For example:
linear hash, using 'open address' to handle collision
define all the code written by Bin Wang.
Defination of simple dynamic array/stack/queue and so on.