Skip to main content

Questions tagged [mispellings]

Filter by
Sorted by
Tagged with
0 votes
1 answer
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
Genevie's user avatar
  • 30
0 votes
1 answer
114 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 ...
codecodecode's user avatar
0 votes
1 answer
237 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 ...
clomas's user avatar
  • 5
0 votes
1 answer
53 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 ...
raj34's user avatar
  • 3
0 votes
1 answer
71 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 ...
Peter's user avatar
  • 1,410
0 votes
1 answer
291 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 ...
Peter's user avatar
  • 1,410
0 votes
1 answer
141 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,...
gptrst's user avatar
  • 3