i am not able to apply operations on arrays

i am able to declare an array
but when i use a for loop to store values in the arrays i get an error message saying" No match to operator [] "

why is this happening???

Added by: tomek, 2010 II 19

Sample code please.