• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: C Structs as objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: C Structs as objects?
      • From: Finlay Dobbie <email@hidden>
References: 
 >C Structs as objects? (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Resuming Downloads (was Re: Displaying an alert box)
  • Next by Date: Re: Security Issue ... was[What happens to ...]
  • Previous by thread: C Structs as objects?
  • Next by thread: Re: C Structs as objects?
  • Index(es):
    • Date
    • Thread