I am trying to create a hash table using the STL vector and list (for collisions) and Microsoft Visual C++ will not let me declare the following:
vector<list<string> > hashTable(251);
but will allow
vector<list<int> > hashTable(251);
I have tried to include string and also to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.