In speller.c, the line 89 is :
while ((c = fgetc(fp)) != EOF && isalpha(c));
but shouldn't it be :
while ((c = fgetc(fp)) != EOF && (isalpha(c) || c == '\'');
because a word can contain apostrophe?
CS50 Stack Exchange is a question and answer site for students of Harvard University's CS50. It only takes a minute to sign up.Sign up to join this community