Chris Shi
  • Member for 5 years, 6 months
  • Last seen more than 4 years ago
Problem with edX pset 5 - Spellchecker load - segfaults with large dictionary
Accepted answer
3 votes

For this line: letterIndex = c - '\''; try to see what happens if c == 'a', the ASCII code for '\'' is 39. Try fixing this and see what happens

View answer
Pset6 Server works fine for cat.jpg, but fails check50
1 votes

Turns out I read the spec wrong and was returning the wrong string in my lookup function...so silly. All is well now!

View answer
Difficulty submitting PSET7 to be graded
0 votes

I have the same problem, but my work was graded in 2-3 days, so don't worry, the submission probably went through.

View answer
Pset7 Sell: can't display dropdown menu items
0 votes

I'm an idiot, I passed the wrong variable name (symbol instead of symbols) using render(). Problem fixed.

View answer
Pset6 Server Parse Function
0 votes

Found the solution to my problem. If I omitted the malloc line, the original pointer would not be rewritten and I can strcpy into abs_path and query. Thanks for the help!

View answer