Search:

Type: Posts; User: GregBrannon

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    1,867

    Re: Priority Queue Linked List Help

    It's frustrating to find errors in code you were sure was perfect! You'll make both of those errors again, assuming code can't be broken and making new objects when you shouldn't, so be looking for...
  2. Replies
    9
    Views
    1,867

    Re: Priority Queue Linked List Help

    Ya, I forgot that a lot of the code was provided from the book, which can be a blessing or a curse. To be a blessing, you have to understand it. I document my understanding of provided code by...
  3. Replies
    9
    Views
    1,867

    Re: Priority Queue Linked List Help

    So focus on the add() method, and the add() method relies heavily on the getNodeBefore() method, so check that. And getNodeBefore() relies on getData() and getNextNode(), so you'll have to check...
  4. Replies
    9
    Views
    1,867

    Re: Priority Queue Linked List Help

    So there are several possible sources of the "error(s)" you're experiencing:

    Data isn't being read from the file correctly
    Data read from the file isn't being used to add items to the queue
    The...
  5. Replies
    9
    Views
    1,867

    Re: Priority Queue Linked List Help

    How are you testing it? How do you know it is or isn't working correctly? If you have sample runs, errors, or results from an online checking program, post those. Not sure what your question is or...
Results 1 to 5 of 5