billd@celerity.UUCP (Bill Davidson) (10/24/88)
In my copy of the Berkeley 4.2 "Unix Programmer's Manual -- Supplementary Documents", there is a copy of the C Reference Manual by Dennis Ritchie. This is basically the same manual as the one defined in K&R. In the back of it, however, there is a section entitled "Recent Changes to C" which is dated November 15, 1978 (Seemingly soon after K&R was published). It states on the first page (page 31 of the manual in my copy): 1. Structure Assignment Structures may be assigned, passed as arguments to functions, and returned by functions. The types of operands taking part must be the same. Other plausible operators, such as equality comparison, have not been implemented. I would think that by now (TEN YEARS LATER!!!!) that all C compiler vendors should have been able to incorporate this into their products. If you use a compiler that doesn't support this, you should seriously consider getting a new compiler. ------------------------------------------------------------------------------- Some of the above is statement of fact, other parts are opinions. The opinions are my own and not neccesarily those of my employer. Bill Davidson ....!ucsd!celerity!billd