This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help with trie program c++

 
Karen Wilson
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to create a program using tries where i can insert, search, delete and print words. I have the code for insert and search but i am not sure how to call the functions in main.cpp
I am getting an error 'letter' is being used with being initialized. i know the pointers are wrong so could someone help? This is all my code

Here are the two header files:
Entry.h



TrieType.h


here is main.cpp:
 
vladimir ilic
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


This is how your Entry.h file should looks like.
Can anybody tell me how to make function to print all words from trie?
 
Campbell Ritchie
Sheriff
Pie
Posts: 47286
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know, but welcome to the Ranch
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic