Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ucsd!rutgers!bellcore!faline!thumper!ulysses!andante!alice!ark
From: ark@alice.UUCP
Newsgroups: comp.unix.questions
Subject: Re: why p->member ?
Message-ID: <8097@alice.UUCP>
Date: 9 Aug 88 19:25:36 GMT
References: <16734@adm.ARPA> <474@sp7040.UUCP>
Organization: AT&T Bell Laboratories, Liberty Corner NJ
Lines: 28

In article <474@sp7040.UUCP>, jsp@sp7040.UUCP writes:
> It needs to be referenced as a pointer.  To do that use:
> 
> 		*p.member
> 
> it is the same as
> 
> 		p->member

I'm going to ignore the original question and merely point out that

		*p.member

means the same as

		*(p.member)

which, in turn, is quite different from

		p->member

In fact,

		p->member

means the same thing as

		(*p).member