|
-
August 18th, 2010, 03:13 PM
#15
Re: hash table with negative number
Can you use hash function without using any of STL? I repeat my original quesiton. There is an array, int a[] = {3, -1, 5, 7, -6}. How'd I build a hash table based on this array without using any of STL? Thanks.
 Originally Posted by MrViggy
An array, who's data type is a list:
Code:
std::vector <std::list<foo> >
Viggy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|