Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
59 views

PSET5 Why Speller can't load dictionary? (included HASH function in case it's relevant)

// Load function bool load(const char *dictionary) { char word[LENGTH + 1]; FILE *file = fopen("dictionary", "r"); if (file == NULL) { printf(&...
General Noob's user avatar
0 votes
1 answer
84 views

PSET6 - Double free error

I'm getting stuck in the last lines of PSET6. Apparently the problem is in the LOAD function. Check50 server2 getting all but 1 lines marked red :( and when running the program I get * Error in `./...
Jose Hernández S.C.'s user avatar
0 votes
1 answer
103 views

pset5: can't test load() alone?

I tried to compile "speller" to only test my load function (I'm not sure it's correct!). I haven't done the other 3 functions yet (check, size and unload). But clang says there is an error with the ...
Malintzin's user avatar
0 votes
1 answer
53 views

[Pset 5 Speller][Load] Segmentation Error

I posted this to the CS50 Subreddit with no help, so i thought i'd post here and try to get some help. My load function is not working, and keeps producing a segmentation error at (hashtable[index]->...
Benjamin Inverno's user avatar
0 votes
1 answer
283 views

pset6 Internal Server Error

I'm working my way through the web server and am getting behavior I don't understand. I am consistently receiving a 500 error whatever I try to load in Chrome. I've added printf's (yes, I'm one of ...
lyflonglerner's user avatar