Search:

Type: Posts; User: GregBrannon

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: Problems getting value of index in 2D array operation

    Glad you figured it out. As I said earlier, the code below demonstrates a more appropriate way to write for() loops to iterate arrays.
    // a method to demonstrate the declaration and initialization...
  2. [SOLVED] Re: Problems getting value of index in 2D array operation

    That you're seeing nothing in the terminal window is the result, and it's significant.

    Trace the code - keep track of the variable values with pencil and paper if you need to - and determine what...
  3. [SOLVED] Re: Problems getting value of index in 2D array operation

    What result are you getting? Copy and post the console from a sample run.

    You've used the 'size' variable before (I think), and you shouldn't be. That's what you're missing in this case. Post...
Results 1 to 3 of 3