Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The problem set for Week 5 will challenge you to apply what you've learned about pointers, memory management, file i/o and structs, creating more complex data structures (such as Hash Tables or Tries) and leveraging their power to write a lightning-fast spell check algorithm.
0
votes
1
answer
389
views
pset 5 valgrind memory leaks
So I am having trouble figuring out how to get rid of this memory leak. The leak is related (I believe) to the const char *'s in the n value of my nodes in the linked list.
Here is the valgrind dia …
0
votes
Conditional jump or moves depends on uninitialized values
So I forgot to put the '/0' on all my dictionary words since I was using the fgetc and not fscanf, which caused some issues when I tried to compare the strings in my checker.
0
votes
1
answer
1k
views
Conditional jump or moves depends on uninitialized values
I am getting the following valerind error.
==9649== Conditional jump or move depends on uninitialised value(s)
==9649== at 0x80493AD: check (dictionary.c:152)
==9649== by 0x8048A6D: main (spell …