Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: struct assignment question Message-ID: <1990Mar15.165716.28260@utzoo.uucp> Organization: U of Toronto Zoology References: <31530005@hpcvia.CV.HP.COM> Date: Thu, 15 Mar 90 16:57:16 GMT In article <31530005@hpcvia.CV.HP.COM> brianh@hpcvia.CV.HP.COM (brian_helterline) writes: >Can you assign a struct like any other data type? Yes. This has been possible since the V7 C compiler, circa 1979. Unfortunately K&R1 slightly predated this feature, so some compilers implemented based on the book don't do it. There is no longer any excuse for this. -- MSDOS, abbrev: Maybe SomeDay | Henry Spencer at U of Toronto Zoology an Operating System. | uunet!attcan!utzoo!henry henry@zoo.toronto.edu