Tim Moores wrote:What is the value of the index that causes the problem? What is the length of the array? These are all runtime issues that you need to work out, just looking at code isn't going to help much.
By not accessing array indices that are higher than allowed for the array in question.
Tim Moores wrote:You should start a new topic for unrelated questions, lest it gets confusing.
Consider Paul's rocket mass heater. |