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 5027

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
2 answers
4k views

incompatible pointer types passing in strcpy?

char word[LENGTH+1]; while(fscanf(file,"%s",word)!=EOF) { node* new_node=malloc(sizeof(node)); strcpy(new_node->word,word) } there is error of strcpy() error: incompatible pointer types passi …
Sammy Jiang's user avatar
1 vote

incompatible pointer types passing in strcpy?

I found I declare char* [LENGTH+1] , then I change to char [LENGTH+1] , and now it compiles rightly.
Sammy Jiang's user avatar
0 votes
1 answer
104 views

where can i get ppt of Zamyla's explanation in pset5

I didn't find anywhere to get that, I just want to get the ppt of zamyla's ppt in pset5, it help me to walkthrough the problems. …
Sammy Jiang's user avatar