why p->member ?

Barry Margolin barmar at think.COM
Fri Aug 12 06:43:40 AEST 1988


In article <3740 at omepd> merlyn at intelob.intel.com (Randal L. Schwartz @ Stonehenge) writes:
]But, the real question (as far as it has been discussed in lang.c, I
]guess) is "if only pointers are used in ->, and structs in ., howcum
]the compiler can't figure it out?"
]Because, it is not PL/1.  I don't want an automatic conversion.

Ahem!  PL/I refuses to do this particular conversion, too.  In fact, I
think PL/I originated the "->" syntax for pointers (did Algol-60 have
pointers?).

Barry Margolin
Thinking Machines Corp.

barmar at think.com
{uunet,harvard}!think!barmar



More information about the Comp.unix.questions mailing list