Search:

Type: Posts; User: chrynelson

Search: Search took 0.24 seconds.

  1. Replies
    30
    Views
    790

    Re: Copying Arrays

    I read through your code and I can't find where you're trying to copy an array. Also, the page you linked to is for Arrays, and you're program is using ArrayList, which is a different class.
    ...
  2. Replies
    2
    Views
    271

    Re: Using the .equals method

    What code are you using to get the keyboard input?

    The problem could be that the code you're using is, effectively though not literally, getNextWord(), rather then getNextEverythingIEnter().
  3. Re: My program keeps lagging when dealing with large arrays.

    As a side note: Wow! Thanks for that Sieve of Eratosthenes link! I never thought of approaching the problem by removing non-primes!
  4. Re: My program keeps lagging when dealing with large arrays.

    Well, I'm pleased to hear that it's not just that my computer is slow!

    The thing is, I got the same problems in a variety of different programs. I finally did get my array of all primes under...
  5. My program keeps lagging when dealing with large arrays.

    Hi,

    I'm not posting specific code for this problem, because the problem keeps happening with lots of variations I've thrown at it, and even completely different programs I've written!

    The...
Results 1 to 5 of 5