What is the line number in the error message and what is the code on that line ?
In reply to Re^9: Adding an element to an array by poj in thread Adding an element to an array by Anonymous Monk