[comp.lang.c] HELP....structures

JDAVIS%GRIFFIN.BITNET@cunyvm.c (Jerry Davis Rsch. Statistician) (06/18/88)

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: <JDAVIS@GRIFFIN>