Search:

Type: Posts; User: akusa

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    1,223

    Re: trouble with linked lists

    I got it. next should have been declared as WordMeaningNode instead of WordMeaning in wordMeaningNode class. thank you.
  2. Replies
    7
    Views
    1,223

    Re: trouble with linked lists

    okay. So, how would be the correct way to go about this. Because i'm using the same code that my professor gave us.
  3. Replies
    7
    Views
    1,223

    Re: trouble with linked lists

    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
  4. Replies
    7
    Views
    1,223

    trouble with linked lists

    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...
Results 1 to 4 of 4