Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Re: Airline having with array index out of bounds exception

    The char: 'A', 'B' can not be used as indexes into an array that expects int index values from 0.
    You can convert char to 0 based int values:
    To convert the char 'A' to a 0 subtract 'A' from it. ...
  2. Re: Airline having with array index out of bounds exception

    What are the values of the variables: column and row?

    Why is column defined as char and not as an int? The char: '2' has an int value of 50.
  3. Re: Airline having with array index out of bounds exception

    At line 38 the code uses an array index with a value of 50 in an array that does not have 51 elements.
    Look at line 38 and check why the index used on that line is past the end of the array.

    What...
  4. Re: Airline having with array index out of bounds exception

    To copy the contents of the command prompt window:
    Click on Icon in upper left corner
    Select Edit
    Select 'Select All' - The selection will show
    Click in upper left again
    Select Edit and click...
Results 1 to 4 of 4