You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Khan, Manuchehar A (ACF)" <mk...@acf.hhs.gov> on 2002/10/28 09:23:11 UTC
RE: Trivial Q....Correcton
-----Original Message-----
From: Khan, Manuchehar A (ACF)
Sent: Monday, October 28, 2002 3:20 AM
To: 'Struts Users Mailing List'
Subject: Trivial Q
This q is irrelevant to strusts but somebody can solve this easy puzzle that
I am stuck with....
I have an multidimentional array rows*columns....Can someone figureout code
to get the x, y poisition in this multidimentional array if i know the
number....
For example I have number 10.....Its position in array for size (4X4) will
be 3rd row and 2nd column...x = 2 and y = 2....
What will be the code to get x,y co ordinates dynamically...
Thanks
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>