home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!uunet.ca!wildcan!sq!chance!john
- From: john@chance.gts.org (John R MacMillan)
- Subject: Re: typedef and memory allocation
- Message-ID: <1992Sep14.115250.5475@chance.gts.org>
- Organization: Reverse - esreveR :noitazinagrO
- References: <3687@amethyst.math.arizona.edu> <11SEP199202314312@envmsa.eas.asu.edu>
- Distribution: usa
- Date: Mon, 14 Sep 1992 11:52:50 GMT
- Lines: 6
-
- |... The
- |call to calloc is probably the way to go.
-
- One caution about this: if you were using calloc() to try to ensure
- the doubles were all initially 0.0 you're making a non-portable
- assumption. It's better to explicitly assign 0.0 to all the elements.
-