#include #include #include #include #include "mphtable.h" using std::ifstream; using std::string; using std::vector; using cxxmph::SimpleMPHTable; int main(int argc, char** argv) { vector urls; std::ifstream f("URLS1k"); string buffer; while(std::getline(f, buffer)) urls.push_back(buffer); SimpleMPHTable table; table.Reset(urls.begin(), urls.end()); }