structure and array and string comparisons

H.MORRIS hom at hocda.UUCP
Tue Mar 27 09:09:53 AEST 1984


One should not confuse the issues of implementing >, <, etc for
structs with that of implementing simple equality (and !=).
I categorically think that > and < should NOT be implemented for
structures.  But I think since we have assignment, it makes good
sense to define == and != for structures.



More information about the Comp.lang.c mailing list