Getting these errors from compiler, any clue what they mean?
WordCompleter.cpp: In constructor ‘WordCompleter::WordCompleter()’:
WordCompleter.cpp:6: error: no match for ‘operator=’ in ‘((WordCompleter*)this)->WordCompleter::root = 0’
PrefixNode.h:8: note: candidates are: PrefixNode& PrefixNode::operator=(const PrefixNode&)
I'm just assigning a member variable to NULL, and it's a pointer. I'm not sure what the errors mean. Some enlightenment?
You should to show the definition of WordCompleter. But in any case your error is that there is no an overloaded assignement operator that can be used in the statement