home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / cplus / 16406 < prev    next >
Encoding:
Text File  |  1992-11-17  |  755 b   |  37 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!ukma!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gecko.cis.ohio-state.edu!beery
  3. From: beery@gecko.cis.ohio-state.edu (brian david beery)
  4. Subject: Thanks for the info
  5. Message-ID: <1992Nov17.061653.28134@cis.ohio-state.edu>
  6. Sender: news@cis.ohio-state.edu (NETnews        )
  7. Organization: The Ohio State University Dept. of Computer and Info. Science
  8. Date: Tue, 17 Nov 1992 06:16:53 GMT
  9. Lines: 26
  10.  
  11.    I would like to thank everyone who responded to my question about pointers
  12. and class objects.  Basically, I needed to parenthesize the reference as 
  13. follows:
  14.    (*o).value=0;
  15. or:
  16.    o->value=0;
  17.    Thanks again to everyone who responded!
  18.                                     -Brian Beery
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.