[Array index out of bounds] problem.
#2

The index in arrays start from 0, not 1. By starting it at index 1, it goes out of bounds at the last index (last valid is 9 and you accessed element at index 10 (which is invalid)).
Reply


Messages In This Thread
[Array index out of bounds] problem. - by rappy93 - 17.05.2014, 17:40
Re: [Array index out of bounds] problem. - by Konstantinos - 17.05.2014, 17:44
Re: [Array index out of bounds] problem. - by rappy93 - 17.05.2014, 17:47
Re: [Array index out of bounds] problem. - by Konstantinos - 17.05.2014, 17:51
Re: [Array index out of bounds] problem. - by rappy93 - 17.05.2014, 17:56
Re: [Array index out of bounds] problem. - by Konstantinos - 17.05.2014, 18:19
Re: [Array index out of bounds] problem. - by rappy93 - 17.05.2014, 18:22
Re: [Array index out of bounds] problem. - by Konstantinos - 17.05.2014, 18:24
Re: [Array index out of bounds] problem. - by rappy93 - 17.05.2014, 18:27
Re: [Array index out of bounds] problem. - by rappy93 - 17.05.2014, 18:34

Forum Jump:


Users browsing this thread: 1 Guest(s)