typedef struct a_name list_type[MAX];

Georg Wittig wittig at gmdzi.gmd.de
Wed Jun 19 18:29:50 AEST 1991


rburgess at 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 at gmdzi.gmd.de	| (from "Me and Bobby McGee",
telephone:	(+49) 2241 14-2294	|  Janis Joplin, Kris Kristofferson)



More information about the Comp.lang.c mailing list