Skip to main content

All Questions

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

CS50 Speller (hash table) - Check returning 0 misspelled words

I'm looking for help with my (hash) code in check to properly handle misspelled words with apostrophes and substrings: bool check(const char *word) { int len = strlen(word); char copy[len + 1]; ...
Leah's user avatar
  • 3
0 votes
1 answer
67 views

Pset5 - dictionaries.c : My check output is very unrelated and confusing

i believe my load function is already working properly, i use fgets, and i have deleted the newline character in each word. but when it comes to check (i think..) it gives me unrelated output. this ...
Patrick Benz Imanuel's user avatar
0 votes
1 answer
1k views

CS50 dictionary.c problem with hashtable

Im having troubles with the hashtable in pset5, in the part where you check wether a word is in the dictionary. My code looks as follows: bool check(const char* word) { int n = strlen(word); ...
Wouterbieze's user avatar