Search:

Type: Posts; User: spunkyk014

Search: Search took 0.12 seconds.

  1. Replies
    2
    Views
    1,354

    Re: Split a String into Ints

    Man, as a mathematician I should totally have thought of that. I need to work on going between comp sci and math mode. Thanks!
  2. Replies
    2
    Views
    1,354

    Split a String into Ints

    Hello,

    So I'm working on a project, and it requires me to split up an integer into each of it's numbers so I can create a base 10 polynomial representation of the number. The problem is, I'm not...
  3. Replies
    6
    Views
    1,135

    Re: Simple problem help!

    ...and this is why I shouldn't code for 3 days straight...I'm an idiot.

    I got it. Thanks so much for your help!
  4. Replies
    6
    Views
    1,135

    Re: Simple problem help!

    It looks like I'm not even entering the while loop. Why would that happen? I printed the values of k and data.length() just before the while loop and they are correct. That boolean should be true.
  5. Replies
    6
    Views
    1,135

    Re: Simple problem help!

    I did. The string is exactly what I have entered. The problem is, now it's getting stuck in an endless loop. The string class has a .length method, so that shouldn't be the problem.

    --- Update...
  6. Replies
    6
    Views
    1,135

    Simple problem help!

    Hello!

    So I'm writing a massive code for a school project at the moment, and while I have all the complicated stuff, I am getting stuck on this simple bit. I'm trying to scan in a text file, a...
  7. JButton, adding a Listener to stop and start?

    Hello! I'm currently working on a project for my java class. I have it almost completely done, but the last thing I need to do is program 2 jbuttons to turn a radio on and off. I have it coded now...
  8. Re: non-static variable timer cannot be referenced from a static context ERROR HELP!

    Thanks! That's the first time all semester that I have finally understood what that error means. Awesome. However, now I'm running into another problem. I changed both the general movingcars() to...
  9. non-static variable timer cannot be referenced from a static context ERROR HELP!

    Hi, I'm trying to program my final project in a class. I was doing fine, and I have it displaying the JFrame fine with all the buttons and the moving cars, but as soon as I try to add...
Results 1 to 9 of 9