CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Comparison of two array

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
pilar



Joined: 30 Jan 2008
Posts: 197

View user's profile Send private message

Comparison of two array
PostPosted: Fri Dec 16, 2011 11:05 am     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Dec 16, 2011 11:15 am     Reply with quote

You should use the forum search function for a simple question like this,
but to be nice, here is the link:
http://www.ccsinfo.com/forum/viewtopic.php?t=36476&highlight=compare+arrays
temtronic



Joined: 01 Jul 2010
Posts: 9250
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Dec 16, 2011 12:36 pm     Reply with quote

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).?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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