Questions tagged [speller-hashtable]

The tag has no usage guidance.

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

problems in unload function-pset5

// Implements a dictionary's functionality #include <strings.h> #include <stdlib.h> #include <ctype.h> #include <stdio.h> #include <stdbool.h> #include <string.h> #...
0
votes
1answer
28 views

Ap cs50(or cs50) hash speller

// Implements a dictionary's functionality #include <ctype.h> #include <stdbool.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include "dictionary.h" //...
0
votes
1answer
119 views

Pset 5 Speller Segmentation Fault

Seg-faults seem to be the bane of my existence. I've tried running valgrind and using printf functions to find the line(s) of code that are causing the seg-fault in my implementation of speller, but ...
0
votes
1answer
29 views

Speller (hashtable) check-function marks everything as correct

When using a small dictionary, everything is working fine. But with larger ones I'm getting output like this: MISSPELLED WORDS WORDS MISSPELLED: 0 WORDS IN DICTIONARY: 143091 WORDS IN TEXT: ...
0
votes
1answer
84 views

Pointer initialization in Load function (pset4 Speller)

When in my load function, I insert a node at the front of a linked list: If I declare and initialize a pointer as the new 'head' node, my code compile but every word in the text is found to be ...
0
votes
1answer
59 views

Segmentation fault - Pset4 Speller

My code has a segmentation fault and always prints this out: MISSPELLED WORDS dictionary.c:111:19: runtime error: member access within null pointer of type 'node' (aka 'struct node') Segmentation ...
0
votes
1answer
103 views

I don't get these errors

Every time I compile speller (hash table) I get these errors: clang -fsanitize=signed-integer-overflow -fsanitize=undefined -ggdb3 -O0 -Qunused-arguments -std=c11 -Wall -Werror -Wextra -Wno-sign-...