Search:

Type: Posts; User: av8

Search: Search took 0.09 seconds.

  1. Thread: 2D ARRAY PROBLEM

    by av8
    Replies
    3
    Views
    1,689

    Re: 2D ARRAY PROBLEM

    for (int j = 0; j < 2; j++)
    for (int i = 0; i < 1; i++)
    box[i][j] = box[i] [j + 1];

    The above code is now working correctly. Thanks for commenting Junky.

    kind regards av8
  2. Thread: 2D ARRAY PROBLEM

    by av8
    Replies
    3
    Views
    1,689

    2D ARRAY PROBLEM

    I have a 2D array called box.



    int[][] box = new int [2][3];


    Its has elements as follows:
Results 1 to 2 of 2