if(realtime==shedule1[0])
{
}
this gives error(neumeric expression required!)
realtime and shedule1[2] are structure variables of same type
help!
Picstudent
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Thu Jan 06, 2005 11:32 am
Write a function which compares them, member-by-member.
Return True if all members compare OK.
kender
Joined: 09 Aug 2004 Posts: 768 Location: Silicon Valley
Posted: Thu Jan 06, 2005 11:57 am
Alternatively your could write a function, which would compare memory occupied by the structures byte-by-byte. It will work faster then member-by-member comparison.
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