Search:

Type: Posts; User: Saradus

Search: Search took 0.16 seconds.

  1. Replies
    10
    Views
    1,715

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

    Ahh ok, that makes sense now. Thanks very much for all your help! I'll be back next week with my subtraction program for everyone to critique (or if I dont do it before wednesday, I'll be on in about...
  2. Replies
    10
    Views
    1,715

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

    Thats true, they don't make it completely clear.... They say "represent as an array", that could mean convert, it could mean taking the string and pulling it apart as a character array.

    I'll check...
  3. Replies
    10
    Views
    1,715

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

    Thats some good optimisation there! I can't do something like this though as it's strictly stated in the project guidelines that the input values are to be converted into arrays and then...
  4. Replies
    10
    Views
    1,715

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

    The two for loops and repeated if-else statement issue has been solved:



    for(int i = 1; i < vMax; i++){
    if(vs1-i < 0){
    vAdd1 = 0;
    }
    else {
    ...
  5. Replies
    10
    Views
    1,715

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

    Scratch that, on another forum Character.digit() was brought up, not sure why I didn't have that in mind first time round!

    Also, on the other forum, someone highlighted the fact that creating two...
  6. Replies
    10
    Views
    1,715

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

    Thanks for the comments! I actually added the throw in as an afterthought. I wasn't sure whether it was required or not so took a gamble. I've always been a little iffy on exceptions and errors so...
  7. Thread: Hello all!

    by Saradus
    Replies
    3
    Views
    513

    Hello all!

    Hi I'm new here! This isn't quite my first post, already made a couple, but just noticed the "Introductions" forum so thought I better make a quick thread here just to make myself known!

    I'm...
  8. Replies
    10
    Views
    1,715

    [SOLVED] Please Review My Code (Long Integer Addition)

    Hello everyone, thought I'd join up as this looks like a good, popular java programming community and a place to learn new things.

    I am currently doing a summer research project on the...
Results 1 to 8 of 8