• 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?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic