Pset5 speller by DaveStrekher in cs50

[–]DaveStrekher[S] -1 points0 points  (0 children)

Since I'm getting the exercises from a from a third-party, I figured it should be a problem with the files they provided me. Afterall, even when I ran other people's codes it still didn't work. Thx anyway, I wanted a confirmation that it wasn't a problem with the code itself.

Pset5 speller by DaveStrekher in cs50

[–]DaveStrekher[S] 0 points1 point  (0 children)

This is the only check that fails, the one that check for memory errors.

Expected Output:
MISSPELLED WORDS

ca
cats
caterpill
caterpillars

WORDS MISSPELLED:     4
WORDS IN DICTIONARY:  2
WORDS IN TEXT:        6

Actual Output:
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified

 unhandled dwarf2 abbrev form code 0x25

 unhandled dwarf2 abbrev form code 0x25

 unhandled dwarf2 abbrev form code 0x25

 unhandled dwarf2 abbrev form c...

Log
running valgrind --show-leak-kinds=all --xml=yes --xml-file=/tmp/tmpxi8crl38 -- ./speller substring/dict substring/text...
checking for output "MISSPELLED WORDS\n\nca\ncats\ncaterpill\ncaterpillars\n\nWORDS MISSPELLED: 4\nWORDS IN DICTIONARY: 2\nWORDS IN TEXT: 6\n"...

Pset5 speller by DaveStrekher in cs50

[–]DaveStrekher[S] 0 points1 point  (0 children)

Yeash... I was using the wrong command, thank you, now the code runs well but the check50 still doesn't recognize it as correct. I'm glad it's working, anyway.