What Can't C Do?

Stew Rubenstein stew at harvard.UUCP
Thu Mar 15 04:26:29 AEST 1984


While you're on the subject, what about == to compare two structures?
This is even more reasonable, in that structure assignment is supported
currently.

Actually, I'd like to be able to do struct = 0; or struct = (struct foo) 0;
to clear a structure but I realize that is a little more difficult.  Still,
if you special case 0 to represent an invalid pointer then special casing
it to be a blank structure should not be too unpalatable.

	stew rubenstein
	{decvax,linus}!genrad!wjh12!harvard!lhasa!stew



More information about the Comp.lang.c mailing list