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???
Sample code please.