Initializing a hashtable?

This is a discussion on Initializing a hashtable? within the C++ Programming forums, part of the General Programming Boards category; I was adding data to the hashtable and i have to check for collision.
Well, in my strcmp its causing ...

Initializing a hashtable?

I was adding data to the hashtable and i have to check for collision.
Well, in my strcmp its causing a crash since there is no data
and its not initialized.(i think) So, here i proceed to try to initialize it.
When i do it calls the operator= function where i dont know what to do with? whatever i try to do it just crashes. Probobly because s contains no data?