Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Thread: Help with Arrays!

    by Norm
    Replies
    5
    Views
    1,619

    Re: Help with Arrays!

    Looks like a went to -1
    33 = 32 - (-1)
    How many times does the inner loop execute?

    The code needs to check that the index is in bounds.
  2. Thread: Help with Arrays!

    by Norm
    Replies
    5
    Views
    1,619

    Re: Help with Arrays!

    Please explain what you mean by " increment the value"
    x= x+1 // increments the value of x by 1

    The code at the end of the post looks like it is shifting the elements to the left by one slot. ...
  3. Thread: Help with Arrays!

    by Norm
    Replies
    5
    Views
    1,619

    Re: Help with Arrays!

    You can do normal math with char values: 'a' + 1 = 'b'
Results 1 to 3 of 3