home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / misc / 3763 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.0 KB

  1. Xref: sparky comp.lang.misc:3763 comp.lang.c:16732
  2. Path: sparky!uunet!kithrup!stanford.edu!agate!biosci!uwm.edu!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!dg-rtp!sheol!throopw
  3. From: throopw@sheol.UUCP (Wayne Throop)
  4. Newsgroups: comp.lang.misc,comp.lang.c
  5. Subject: postfix indirection operator in C
  6. Message-ID: <722061083@sheol.UUCP>
  7. Date: 18 Nov 92 01:43:56 GMT
  8. References: <id.SJYU.I62@ferranti.com>
  9. Followup-To: comp.lang.c
  10. Lines: 14
  11.  
  12. : From: peter@ferranti.com (peter da silva)
  13. : Message-ID: <id.SJYU.I62@ferranti.com>
  14. : (I will readily admit that C syntax sucks here: indirection should be a
  15. : postfix operator:
  16.  
  17. Actually, I often use the C postfix indirection operator "[0]",
  18. in places where it makes the intent clearer.  Especially when
  19. interspersed with array and struct accesses.
  20.  
  21. ( Well... maybe "often" is an exageration.  But really and
  22.   truely, I have treated "[0]" as if it were a simple postfix
  23.   operator now and then.  Works just fine.  Sort of. )
  24. --
  25. Wayne Throop  ...!mcnc!dg-rtp!sheol!throopw
  26.