Timeline for CS50 [Speller_hashtable] my hashtable is weird!
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 25, 2019 at 5:43 | vote | accept | AvisTai | ||
Sep 16, 2019 at 10:30 | answer | added | Cliff B | timeline score: 1 | |
Sep 16, 2019 at 10:10 | comment | added | Cliff B | Still need the declaration for the node struct. | |
Sep 14, 2019 at 22:53 | history | edited | AvisTai | CC BY-SA 4.0 |
added 198 characters in body
|
Sep 14, 2019 at 22:51 | comment | added | AvisTai | I used "hashtable[0] -> word" instead of "hashtable[0]" as the second parameter of printf function at first, but it turned out that the results are the same. Thank you for reminding me, I have added those code to my question. | |
Sep 14, 2019 at 22:47 | history | edited | AvisTai | CC BY-SA 4.0 |
added 929 characters in body
|
Sep 14, 2019 at 21:06 | comment | added | Cliff B |
Exactly how did you declare the hashtable[] array? I would think that printf("%s\n", hashtable[0]); would cause a compiler failure. Isn't hashtable an array of pointers? Can you please add all the relevant declarations, and the hash and check functions to the question?
|
|
Sep 14, 2019 at 15:22 | history | asked | AvisTai | CC BY-SA 4.0 |