Re: C Structs as objects?
Re: C Structs as objects?
- Subject: Re: C Structs as objects?
- From: Jeff LaMarche <email@hidden>
- Date: Wed, 17 Oct 2001 21:11:01 -0700
On Wednesday, October 17, 2001, at 09:35 AM, Jeff Howe wrote:
This has not been true for some length of time. Struct (and union)
copying
has been in C since the 1989 ANSI standard, provided of course that the
RHS and LHS structs or unions are of the same type. Compiler
implementations od this took some time to follow the standard, but it's
been available for quite awhile.
Hmmm... well, now that's embarassing..
In my defense, the last time I did much hardcore C programming was in
the late eighties and very early nineties. Thank you all for setting me
straight...