var mypos[3]; --- here too sir,having a problem here."x is not a member of function", should i make it VECTOR??thanks for the reply sir..