Path: utzoo!yunexus!yetti!asst-jos From: asst-jos@yetti.UUCP (Jonathan) Newsgroups: comp.lang.c Subject: Re: Indefinite-length array as member of struct: how? Keywords: char string [] [0] [1] Message-ID: <321@yetti.UUCP> Date: 10 Jul 89 13:57:54 GMT Article-I.D.: yetti.321 References: <7360@c3pe.UUCP> Reply-To: asst-jos@yetti.UUCP (Research Assistant--Jonathan) Organization: York U. Computer Science Lines: 19 I'm no guru, but don't user char string[]; in your struct. Use char *string; Remember that although by definition, the name of an array is a pointer to the array, there are certain limitations. If I remember correctly, you can't user the name of a declared as a pointer. namely char string[SIZE]; *string = .... is invalid. Jeffrey Klein