Search:

Type: Posts; User: dlorde

Search: Search took 0.07 seconds.

  1. Replies
    6
    Views
    1,519

    Re: Help with array code.

    If you want your array to have 5 integers in it, you have to put 5 integers into it. The compiler can't read your mind. You've told it to put one integer into position 0, so it put one integer into...
  2. Replies
    6
    Views
    1,519

    Re: Help with array code.

    1. You have declared an array that can hold 5 int values, but you haven't put any int values into it...
    2. Your 'for' loop has a misplaced semi-colon at the end of the 'for...' statement, so the...
Results 1 to 2 of 2