home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.misc:3763 comp.lang.c:16732
- 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
- From: throopw@sheol.UUCP (Wayne Throop)
- Newsgroups: comp.lang.misc,comp.lang.c
- Subject: postfix indirection operator in C
- Message-ID: <722061083@sheol.UUCP>
- Date: 18 Nov 92 01:43:56 GMT
- References: <id.SJYU.I62@ferranti.com>
- Followup-To: comp.lang.c
- Lines: 14
-
- : From: peter@ferranti.com (peter da silva)
- : Message-ID: <id.SJYU.I62@ferranti.com>
- : (I will readily admit that C syntax sucks here: indirection should be a
- : postfix operator:
-
- Actually, I often use the C postfix indirection operator "[0]",
- in places where it makes the intent clearer. Especially when
- interspersed with array and struct accesses.
-
- ( Well... maybe "often" is an exageration. But really and
- truely, I have treated "[0]" as if it were a simple postfix
- operator now and then. Works just fine. Sort of. )
- --
- Wayne Throop ...!mcnc!dg-rtp!sheol!throopw
-