Path: utzoo!attcan!uunet!mailrus!tut.cis.ohio-state.edu!purdue!haven!mimsy!chris From: chris@mimsy.umd.edu (Chris Torek) Newsgroups: comp.lang.c Subject: structure assignment (was MSC delay() routine?) Message-ID: <23092@mimsy.umd.edu> Date: 14 Mar 90 14:48:07 GMT References: <1280001@hpcc01.HP.COM> <1990Mar13.041457.17217@cubmol.bio.columbia.edu> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 12 >> time2=time1; /* where time1 and time2 are `struct's */ In article <1990Mar13.041457.17217@cubmol.bio.columbia.edu> ping@cubmol.bio.columbia.edu (Shiping Zhang) writes: >You can't assign a struct like that. You must assign the elements >of a struct individually. If this is true, Microsoft should not call their product a C compiler. (Perhaps a `C--' compiler, or a `broken C' compiler....) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@cs.umd.edu Path: uunet!mimsy!chris