Search:

Type: Posts; User: Freezer Boy

Search: Search took 0.25 seconds.

  1. Replies
    9
    Views
    598

    Re: Priority Queue Linked List Help

    Okay so first of all I really appreciate all the help you've been offering me, because I felt really stuck before with all this.

    So I just had another long response almost written about how even...
  2. Replies
    9
    Views
    598

    Re: Priority Queue Linked List Help

    Yeah I've been trying to work on the add() method for a while now since I've suspected that's been the issue. One thing I tried to do that my teacher mentioned is to keep a lastNode as well for each...
  3. Replies
    9
    Views
    598

    Re: Priority Queue Linked List Help

    I can tell you it definitely isn't a problem with reading in from the file, because I had this entire program working fine but I had to adjust it to implement the array of nodes. I'm thinking it...
  4. Replies
    9
    Views
    598

    Re: Priority Queue Linked List Help

    Sorry for not being clearer. I'm testing it from my driver I have which is adding the data to the queue. It just reads in the data from a file and then uses the add method in the priority queue to...
  5. Replies
    9
    Views
    598

    Priority Queue Linked List Help

    So I'm been trying to figure out what I'm doing wrong with this for hours now and I'm just completely stuck. For this assigment we need to create a Linked List Priority Queue. What's making it...
  6. Replies
    4
    Views
    417

    Re: Assign a value in a void method

    Okay that's what I'll do, thanks for your help!
  7. Replies
    4
    Views
    417

    Re: Assign a value in a void method

    Calling it getAverge is actually a mistake on my part, I'm so used to calling things get I didn't realize it didn't make sense here. The book actually says to call it calculateAverage, so that was...
  8. Replies
    4
    Views
    417

    Assign a value in a void method

    I'm having some trouble trying to figure out how to assign a value to a variable being passed through a method parameter. First of all here is my relevant code:


    public static void main(String[]...
  9. Replies
    3
    Views
    433

    [SOLVED] Re: File input help

    Yeah sorry, I did have code at the end of main that printed out the total number of males and females as well as their average GPA.

    Anyway thanks for the help, that got it all to work right. I...
  10. Replies
    3
    Views
    433

    [SOLVED] File input help

    So this is my first time on these forums so if this is in the wrong spot, I apologize.

    This is the input file I have:



    f 3.40
    f 4.00
    m 3.56
    m 3.80
Results 1 to 10 of 10