home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / c / 12598 < prev    next >
Encoding:
Text File  |  1992-08-20  |  864 b   |  20 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!centerline!noc.near.net!black.clarku.edu!vax.clarku.edu!ekender
  3. From: ekender@vax.clarku.edu
  4. Subject: Request for Structure Help !
  5. Message-ID: <20AUG92.20525774@vax.clarku.edu>
  6. Sender: news@black.clarku.edu (USENET News System)
  7. Organization: Clark University
  8. Date: 20 AUG 92 20:52:57 GMT
  9. Lines: 9
  10.  
  11.     I would appreciate it if anyone could point me in the right direction. I have been assigned a mailing list problem. The strange part (to me) is that the prof wants me to use the following structure:
  12.    typedef struct {
  13.          int count;
  14.          char string[0];
  15.          } string_t;
  16.  
  17. Why would you use this type of typedef to store the character string data? The
  18. program also needs to use an array of pointers to structures, mabey this will
  19. help. Any help will be appreciated. Thanks, Eric. (EKENDER@VAX.CLARKU.EDU).
  20.