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 first part of pset5, loading a dictionary into memory
0
votes
1
answer
323
views
Pset5 load clang error: linker command failed with exit code 1
I have been working on the load function for pset5 for more than 2 weeks and I am keep receiving clang error: linker command failed with exit code 1. … Thank you
bool load(const char* dictionary)
{
node *head=NULL;
FILE *fp=fopen(dictionary, "r");
if (fp==NULL)
{
fprintf(fp,"File dictionary could not be opened. …
0
votes
1
answer
139
views
Segmentation fault
to load large dictionary i get segmentation fault. … bool load(const char* dictionary)
{
FILE *fp=fopen(dictionary, "r");
if (fp==NULL)
{
printf("File dictionary could not be opened.\n");
return false;
}
while (! …
0
votes
1
answer
50
views
Segmentation error in load
This time, when I am running load for small dictionary i get the message that text couldn't be found. … Returns true if successful else false.
*/
bool load(const char* dictionary)
{
FILE *fp = fopen(dictionary, "r");
if (fp==NULL)
{
printf("File dictionary cannot be opened\n"); …