Search:

Type: Posts; User: dlorde

Search: Search took 0.09 seconds.

  1. Thread: confused

    by dlorde
    Replies
    4
    Views
    1,666

    [SOLVED] Re: confused

    If you don't have a debugger or don't know how to use one, the easiest way to spot what's wrong in code like that is to step through it by hand, with pencil and paper and track the values of...
  2. Thread: confused

    by dlorde
    Replies
    4
    Views
    1,666

    [SOLVED] Re: confused

    Compare the contents of objects (e.g. String) with the equals() method, not '=='. In this case you can use aString.isEmpty().

    Your inner loop counter that is checking the current input string...
Results 1 to 2 of 2