cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
AVL tree help - C++
AVL tree help - C++
Nov 28, 2017 at 5:13am UTC
jge162
(2)
I need help with two functions. One I need my OSTREAM to upload into a AVL tree. what am i doing wrong? my output keeps coming back size() =0
also i thnk it is failing because my getword() function is returning a empty string (" "). please assist if you can...
Last edited on
Dec 7, 2017 at 10:38pm UTC
Nov 29, 2017 at 11:53am UTC
coder777
(8439)
my output keeps coming back size() =0
In your Write(...) function
wordMap_
is a local variable that does not have any content. If this variable would exist in
DocumentIndex
that member variable will not be used.
In
GetWord()
beginPosition_
will also be empty/uninitialized.
Topic archived. No new replies allowed.