Questions tagged [mispellings]

The tag has no usage guidance.

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

dictionary - need some hints to target details why it doesn't work - please

So my code does compiles but it does print all the words as mispelled plus now i have a segmentation fault. Please i need so hints. here my codes : https://pastebin.com/4axfif3g
0
votes
1answer
112 views

CS50 pset5 mispellings segmentation fault

I finished the code for load() and check(). It seems to me that load() works fine. But when I finished check() and ran the program, segmentation fault appeared. Then I used Valgrind and here is one ...
0
votes
1answer
199 views

pset5 Misspellings - passes check50 - doesn't work with larger text file

I've been pulling my hair out over Misspellings and I've finally got it to the point where is passes check50. Though when I run the code with austinpowers.txt for example, it says I have 19188 ...
0
votes
1answer
45 views

pset5 Mispellings output looks correct but check50 disagrees

Think I've managed to get everything to work. The program compiles and loads large or small dictionaries and finds misspelled words in various text files. I diffed the output of my speller with ...
0
votes
1answer
66 views

Check function in pset5 segfault

After struggling through the load function and finally getting that correct, I've hit another brick wall with check. Here's my dictionary.h: /** * Declare struct and global variables for loading ...
0
votes
1answer
283 views

Segfault when implementing trie in pset5

I'm trying to implement a trie as my load function in pset5, but I have two questions: How did I fix the segfault I encounter? (identified specifically below) More broadly, where are the errors in my ...
0
votes
1answer
131 views

pset5 Mispellings. Outputs are correct but check50 complains

This is the result of check50: https://sandbox.cs50.net/checks/7848930a98684a8ea4c41091c5c15a2d Problems arise with "the" and "foo". I tried to check every combination of The, tHe, thE ecc... and Foo,...