Search:

Type: Posts; User: helloworld922

Search: Search took 0.57 seconds.

  1. [SOLVED] Re: Please Review My Code (Long Integer Addition)

    Ok, that second fragment is to solve this problem:
    say, someone decided they wanted to add 000123 to 1 (kind of strange, put a legal string input)
    answer without it:
    "000124"
    not necessarily the...
  2. [SOLVED] Re: Please Review My Code (Long Integer Addition)

    But it is an array. String are just character arrays. Oh well, for an assignment better safe than sorry.
  3. [SOLVED] Re: Please Review My Code (Long Integer Addition)

    a really random memory optimization i just thought of. You're already holding the read in number as a string, so you don't really need another copy as an integer array, just a string for the answer....
  4. [SOLVED] Re: Please Review My Code (Long Integer Addition)

    The only thin i would change after a first look is main methods generally shouldn't throw checked exceptions. Not really a problem compile wise, but if there is a checked exception, it usually should...
Results 1 to 4 of 4