Search:

Type: Posts; User: Jared

Search: Search took 0.27 seconds.

  1. Thread: Null pointers

    by Jared
    Replies
    13
    Views
    1,009

    Re: Null pointers

    Ok, so I need help for the, hopefully, final time. I don't know how to make the Doubly Linked List I make persistent. What I mean by this is I don' tknow how to keep it there so I can access it...
  2. Thread: Null pointers

    by Jared
    Replies
    13
    Views
    1,009

    Re: Null pointers

    Thanks, just looked it up. I only did a cursory look at it before deciding on the other solution earlier. Mind saying why it's better to use getNumericValue? I understand that it's built for doing...
  3. Thread: Null pointers

    by Jared
    Replies
    13
    Views
    1,009

    Re: Null pointers

    I decided to take the easy way out and subtract the 48 from the number, then insert it in the node.
  4. Thread: Null pointers

    by Jared
    Replies
    13
    Views
    1,009

    Re: Null pointers

    I figured it out, it's the way I casted the variable that caused it to get all messed up. Now I can move on! I should elaborate in case anyone else has this problem. It was returning the ASCII value...
  5. Thread: Null pointers

    by Jared
    Replies
    13
    Views
    1,009

    Re: Null pointers

    What the program aims to do is create a doubly linked list that holds a single digit of a number in each of the nodes. This doubly linked list is then aligned with the other doubly linked list to do...
  6. Thread: Null pointers

    by Jared
    Replies
    13
    Views
    1,009

    Re: Null pointers

    Yeah, I've sinced fixed all of that in my code, however, my biggest problem lies in the accept method now, specifically where the value is passed to the method insertNodeBack. For some reason, the...
  7. Thread: Null pointers

    by Jared
    Replies
    13
    Views
    1,009

    Re: Null pointers

    I've been looking more closely at what's been happening inside the program, and it's a bit bizarre. I'll try setting them to private in a second, and providing getters and setters for them, I just...
  8. Thread: Null pointers

    by Jared
    Replies
    13
    Views
    1,009

    Null pointers

    I'm getting either a null pointer, or some other kind of problem. So far, in this program, I only have the multiply function completed to the point where it ought to work. However, either in my...
  9. Thread: Iterative Help

    by Jared
    Replies
    12
    Views
    1,117

    Re: Iterative Help

    First you probably want to divide the number by 10, which will give you a number that tells you how many you gotta print. for instance, 76 / 10 = 7. Then toss that into a loop which starts at 0 and...
  10. Replies
    2
    Views
    580

    Re: Need help passing values through classes

    Thanks, I appreciate the response. I ultimately got past it last night, and it was a weird mistake to make. It's just been a while since I programmed, school just started back up.
  11. Replies
    2
    Views
    580

    Need help passing values through classes

    This is a pretty basic concept, but I'm struggling with it. I've got three classes that I'm using for an assignment, basically, I'm passing over a string of a number into a class that parses the...
Results 1 to 11 of 11