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

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!relay!nswc-wo.nswc.navy.mil!kestes
  3. From: kestes@nswc-wo.nswc.navy.mil (Kent Estes)
  4. Subject: question on REFERENCES
  5. Message-ID: <1992Nov17.141055.19557@relay.nswc.navy.mil>
  6. Sender: news@relay.nswc.navy.mil
  7. Organization: Naval Surface Warfare Center
  8. References: <1992Nov17.073603.5235@murdoch.acc.Virginia.EDU> <75096@hydra.gatech.EDU>
  9. Date: Tue, 17 Nov 1992 14:10:55 GMT
  10. Lines: 12
  11.  
  12. Hello netters,  
  13.  
  14. I am working on a function that references objects via id.  Upon finding
  15. an object, it returns a reference to that object.  My question is :
  16. if the object is not found, what is the best way to handle this.  If 
  17. I were returning pointers to objects, all I would have to do is
  18. return NULL.
  19.  
  20. tnx kl.
  21.  
  22. reply via email not encouraged.
  23.  
  24.