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. ...
Type: Posts; User: Norm
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. ...
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.
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...
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...