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

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!jsanders
  3. From: jsanders@symcom.math.uiuc.edu (John Eric Sanders)
  4. Subject: Re: Array of pointers to structures
  5. References: <Bt5Eq2.ExL@news.cso.uiuc.edu> <14893@ksr.com>
  6. Message-ID: <Bt6xyC.5sy@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: Math Dept., University of Illinois at Urbana/Champaign
  9. Date: Tue, 18 Aug 1992 17:58:58 GMT
  10. Lines: 13
  11.  
  12. Thanx to all that helped--this is new territory and my brain must have
  13. been fried when I tried it the first time.  (I think I was trying
  14. *ptr[x].elment[y] to access the data.)  Looking at the examples, and
  15. with the words of wisdom from everyone, it looks like my code will
  16. work now (using ptr[x]->elment[y], or (*ptr[x]).elment[y])
  17.  
  18. Thanks again.    
  19.  
  20.  
  21. -- 
  22.  The Jester (John E. Sanders)       jsanders@symcom.math.uiuc.edu       
  23.  I have finally discovered the method to my madness.  Unfortunately,    
  24.  there is more madness to my method than method to my madness.          
  25.