P
Potatoman
i have some an array of structs, i need to compare arrays. what can you
do me for ?thanx
Potatoman
do me for ?thanx
Potatoman
i have some an array of structs, i need to compare arrays. what can you
do me for ?
Potatoman said:i have some an array of structs, i need to compare arrays. what can you
do me for ?thanx
I can review your code when you post it. I doubt that anyone is going to
bother doing your work for you if you don't attempt it first.
--
Flash Gordon, living in interesting times.
Web site - http://home.flash-gordon.me.uk/
comp.lang.c posting guidelines and intro:
http://clc-wiki.net/wiki/Intro_to_clc
Ok, no problem! (*o*)
typedef struct{int a;int b}s;
s s[5];
///Initialize all 5's values of a and b
//compare s[0],s[1],s[2],s[3],s[4] <===== I would like to know this
Could you help me ?
When the number of struct's elements
gets larger, comparing each of them is clearly incorrect.
Potatoman said:Flash Gordon ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸:
no, please, you don:t have to do the work for me, just give me hints to
how i can compare the 2 structs. When the number of struct's elements
gets larger, comparing each of them is clearly incorrect. please tell
something
Potatoman said:no, please, you don:t have to do the work for me, just give me hints to
how i can compare the 2 structs. When the number of struct's elements
gets larger, comparing each of them is clearly incorrect.
It's not "clearly incorrect". It may or may not be correct, depending
on what you mean by "compare" and what you mean by "comparing each of
them". You haven't said what either of those mean to you.
Potatoman said:Chris Dollin ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸:
Oh, thanks everyone, please tell me all about all types of struct
comaprison
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.