Question: c++: I have a hashtable function called search (which basically look up if what I'm searching for is stored in the hash table). The name
c++: I have a hashtable function called search (which basically look up if what I'm searching for is stored in the hash table). The name of the hash table is "hash" and so basically if I want to search for string s1, it will go as hash.search(s1)... So I would like to know how would I make an if statement if I want to stay if(!hash.search(s1)) basically I want to check whether or not the string s1 is in the hash table or not.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
