Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!umd5!brl-adm!adm!JDAVIS%GRIFFIN.BITNET@cunyvm.cuny.edu From: JDAVIS%GRIFFIN.BITNET@cunyvm.c (Jerry Davis Rsch. Statistician) Newsgroups: comp.lang.c Subject: HELP....structures Message-ID: <16220@brl-adm.ARPA> Date: 18 Jun 88 01:18:26 GMT Sender: news@brl-adm.ARPA Lines: 22 I am trying to build a data structure which consists of variable length records. The number of records is also variable but within a range of 2-7. It looks like this: struct cit { char rec(81) /*I'm using '()' for square }; /*brackets in this question struct cit body(8); /*because my terminal is of /*IBM 3270 type. Questions: #1 Is it possible to declare a struct of array of structs so that I can file the whole thing by name instead of looping through body(i)? #2 If #1 is true, will the keyword NULL (placed in the record following the last filled record) keep the remaining empty records from being filed? #3 Am I way off base and babbling nonsense? BTW I'm using msc v4.0 and haven't had much experience using data structures (big news, huh). Anyway, I'll greatly appreciate any help. Thanks.... Jerry bitnet jdavis@griffin, anyone else jdavis@griffin.uga.edu Acknowledge-To: