I got it. next should have been declared as WordMeaningNode instead of WordMeaning in wordMeaningNode class. thank you.
Type: Posts; User: akusa
I got it. next should have been declared as WordMeaningNode instead of WordMeaning in wordMeaningNode class. thank you.
okay. So, how would be the correct way to go about this. Because i'm using the same code that my professor gave us.
temp.next = list;
curr = curr.next;
curr.next = temp;
those lines in the wordlist class gives me errors.
says incompatible types
required: WordMeaning
found: WordMeaningNode
I'm trying to make a dictionary program using linked lists. I need four classes, one that holds the word and the meaning. One that creates the node of information and its link field. Another class...