error: invalid types ‘int [200][float]’ for array subscript : so I basically have a coordinate system and I  want to access the array by index of coordinates.pos is Vector2f(I use sfml).
   		       
                int iposy=static_cast<int>(pos.y);
				int iposx=static_cast<int>(pos.x);
				if(col[iposy][iposx]==N)
					col[iposy][iposx]=i;
				else{
				 int vx1 = vx[i];
				 int vx2 = vx[(col[iposy][iposx])];
				 int vy1 = vy[i];
				 int vy2 =vy[(col[iposy][iposx])];

I get the following errors :" 
error: invalid types ‘int [200][float]’ for array subscript
      int vx2 = vx[(col[iposy][iposx])];
                                      
error: invalid types ‘int [200][float]’ for array subscript
      int vy2 =vy[(col[iposy][iposx])];
