#include < iostream.h > #include < fstream.h > #include < time.h > #include "sortablelist.h" int main() { // start and stop are declared as clock variables clock_t start1, start2, stop1, stop2; start1 = clock(); // Do search and binary search stuff stop1 = clock(); start2 = clock(); // Do hashing stuff stop2 = clock(); cout << "Search and binary search time is " << (stop1-start1)/CLOCKS_PER_SEC << endl; cout << "Hashing time is " << (stop2-start2)/CLOCKS_PER_SEC << endl; }