Thread: pointer error
View Single Post
Old 07-13-2006, 10:15 AM   #8 (permalink)
ron76
Registered User
 
Join Date: Jul 2006
Posts: 9
ron76 is on a distinguished road
THanks...

The reason I did 2 print statements was to see where the error was. The thought about head being dead did not occur to me.

But I have a question now; how will I check if the array-node at List[bucket] is empty.

I tried to use a condition with if List[bucket]->next == null

Its compiling fine. But I am getting a segmentation fault.

Please help again.
Thanks again.
ron76 is offline   Reply With Quote