New answers tagged pset5
1
vote
In pset5 speller : Two variants of same code differ in case sensitivity
actually problem is in return of else part, i figured it out through printing. its 3rd part is (tolower(word[2] - 'a')) but it should be (tolower(word[2]) - 'a') that shows how important () are
2
votes
Accepted
PSET5 - SPELLER - CODE COMPILES BUT FAILS CHECK50
Time for a little tough love here. From time to time, new programmers in this class are under the incorrect impression that getting a program to compile means success. It doesn't. Just because a ...
Top 50 recent answers are included
Related Tags
pset5 × 1285speller × 649
load × 276
valgrind × 145
check × 121
trie × 113
dictionary × 106
segmentation-fault × 105
unload × 87
cs50x × 82
check50 × 80
c × 53
memory-leak × 53
hash-table × 50
resize × 48
recover × 46
linked-list × 24
misspelling × 24
segfault × 22
memory × 21
hash-function × 21
pointers × 20
speller-check × 20
error × 19
fails-check50-but-works × 15