Timeline for PSet5 Segmentation Fault error when speller.c is run after compiling without errors
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 2, 2016 at 18:24 | vote | accept | MKD | ||
Nov 2, 2016 at 18:11 | comment | added | MKD |
Thanks @Blauelf! That was a really silly error setting letter to 26. I'm not sure how to go about reset cursor to root . When I use cursor = root; I get a segmentation fault. And when I use *cursor = *root; I continue to get all my words back out of the speller.c function not just the misspelled ones. Updating the above code accordingly.
|
|
Nov 2, 2016 at 14:09 | history | edited | Blauelf | CC BY-SA 3.0 |
added 50 characters in body
|
Nov 2, 2016 at 14:00 | history | answered | Blauelf | CC BY-SA 3.0 |