Hot answers tagged

1 vote
Accepted

segmentation fault with node pointers on speller

This should be easy. 999 times out of 1000, the problem is that table[hashn] is null (or an invalid address). Therefore, table[hashn]->next doesn't exist. Since it doesn't exist, it triggers a ...
user avatar
  • 64.2k
1 vote
Accepted

PSET5 - SPELLER - Check50 only works locally

You must have a different compiler flag set concerning warnings. The problem is that the code has an unused variable (line 75) warning. Your compiler may be ignoring it, but the check50 compiler ...
user avatar
  • 64.2k

Only top scored, non community-wiki answers of a minimum length are eligible