Array by value - (nf)

Guy Harris guy at rlgvax.UUCP
Tue Aug 23 17:40:09 AEST 1983


The problem with the example you gave is that it was comparing the result
of the assignment operator (which is its LHS, i.e. a structure) with 0.
Structures and ints can't be compared; furthermore, structures can't be
compared because you can't just use a quick loop/string compare instruction
because it would compare any holes in the structure as well, so nobody has
implemented structure comparison.

	Guy Harris
	{seismo,mcnc,we13,brl-bmd,allegra}!rlgvax!guy



More information about the Comp.lang.c mailing list