Search:

Type: Posts; User: helloworld922

Search: Search took 0.72 seconds.

  1. Replies
    12
    Views
    2,490

    Re: Help with assignment

    It's preference really in that case. There's nothing wrong with declaring it inside the main method because then it will be local to the main method.

    It's true you can't just "increase" the size...
  2. Replies
    12
    Views
    2,490

    Re: Help with assignment

    please use [code] tags, or even better, [highlight="Java"] tags



    A 1-D vector of booleans is extremely useful for implementing the sieve of eratosthenes (finding prime numbers), though...
Results 1 to 2 of 2