Initial import.
This commit is contained in:
11
hashtest.cpp
Normal file
11
hashtest.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <iostream>
|
||||
#include "hashtbl.h"
|
||||
|
||||
void main ()
|
||||
{
|
||||
HashTable * table = new HashTable (10);
|
||||
table->add("Foo", (void*)"Bar");
|
||||
table->add("Baz", (void*)"Qux");
|
||||
cout << "Foo is " << (char*)(table->get("Foo")) << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user