Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!math.fu-berlin.de!unido!gmdzi!wittig From: wittig@gmdzi.gmd.de (Georg Wittig) Newsgroups: comp.lang.c Subject: Re: typedef struct a_name list_type[MAX]; Keywords: typedef struct arrays Message-ID: <4944@gmdzi.gmd.de> Date: 19 Jun 91 08:29:50 GMT References: <1991Jun18.201913.16800@milton.u.washington.edu> Organization: GMD - The German National Research Center for Computer Science Lines: 17 rburgess@milton.u.washington.edu (Rick Burgess) writes: >#define MAX 500 >struct a_name >{ > short x; > time_t y; > char z; >} /* in other words, some miscellaneous, properly defined struct */ ^^^^ semicolon missing!!! > >typedef struct a_name list_type[MAX]; -- Georg Wittig GMD-Z1.IT P.O.Box 1240 | "Freedom's just another word D-W-5205 St. Augustin 1 (Germany) | for nothing left to lose" email: wittig@gmdzi.gmd.de | (from "Me and Bobby McGee", telephone: (+49) 2241 14-2294 | Janis Joplin, Kris Kristofferson)