Re: C Structs as objects?
Re: C Structs as objects?
- Subject: Re: C Structs as objects?
- From: Ondra Cada <email@hidden>
- Date: Wed, 17 Oct 2001 21:52:24 +0100
Jeff,
>
>>>>> Jeff LaMarche (JLM) wrote at Wed, 17 Oct 2001 09:07:08 -0700:
JLM> In C, IIRC, you could absolutely not assign a struct to a struct simply
JLM> by saying
JLM>
JLM> destStruct = srcStruct;
You don't remember correctly. Assignment (and returning, which is much more
complicated implementation-wise!!!) of structures (and unions, incidentally)
was part of ANSI C for years.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc