View previous topic :: View next topic |
Author |
Message |
pilar
Joined: 30 Jan 2008 Posts: 197
|
Comparison of two array |
Posted: Fri Dec 16, 2011 11:05 am |
|
|
Hi, someone can help me, I want to comparison two array of the same number of elements, anyone can tell me how to do or what function have to use? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9226 Location: Greensville,Ontario
|
|
Posted: Fri Dec 16, 2011 12:36 pm |
|
|
The question is somewhat vague.
Comparison ? how....
Same # of nonzero elements? [3] = [3]
Same value of each element in both arrays? (1,2,4 = 1,2,4)
Same overall array( 1,2,4 = 2,4,1) ?
Same order of values (1,2,4 1,2,4).? |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|