05-27-2008 06:53 AM
Your boss?
You mean he just wanted to see if you could implement something without any actual reason?
😮
05-27-2008 06:57 AM
05-27-2008 07:44 AM
05-27-2008 11:01 AM
Sithu wrote:
Thank you so much. i have one more doubt regarding array addition. I want to add the consecutive array elements & this process must be controlled by an add button. i.e. say, array given is {0,1,2,3,4,5}. I want the addition as follows : {0+1}, {1+2}, {2+3}, {3+4}, {4+5}.
Sithu wrote:
The addition must be done iff add button is enabled
Sithu wrote:
thanks Mike... Ill explain clearly.1. the user can input an array of any dimension.2.the addition must be performed as per the logic you said.3.the task must be performed when the user presses the add buttton.4. when the button is released the task is stopped.5. addition process is resumed when the user again presses add button.(result till the previous addition is stored in a buffer.)
05-27-2008 11:43 AM
altenbach wrote:
(1) You probably mean "of any size", not "dimension". If you want the user to be able to enter 1D, 2D, 3D, etc arrays at will, it would require quite a bit more programming.
05-27-2008 11:47 AM
The definition of "adjacent elements" is also a bit more tricky for multidimensional arrays. 😄
JoeLabView wrote:it is probably any size... which makes this a little bit easier.