Skip to main content
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
Results tagged with
Search options not deleted user 12180

the first part of pset5, loading a dictionary into memory

0 votes
1 answer
94 views

Problem with edX pset 5 - Spellchecker load - segfaults with large dictionary

Below is the code from my spellchecker load procedure; other parts of the code omitted. … When I use a small dictionary, everything seems to run fine, but when I try to load the large dictionary, I get a Segmentation Fault error. …
Brian Smith's user avatar
0 votes
1 answer
73 views

pset6 server load - struggling with how to test this one

Here's my code: bool load(FILE* file, BYTE** content, size_t* length) { char* buffer = calloc(1, BYTES); //1 int sizeCounter = BYTES; //2 do { fread(&buffer[sizeCounter …
Brian Smith's user avatar