← Back to team overview

sslug-teknik team mailing list archive

Re: Ang.: C++ syntaks.

 

fuzz01@xxxxxxxxxxxxx (Anders Bo Rasmussen) writes:

> Er den operator med i C? Jeg kan da ikke finde noget om den i K&R.

Virkelig. K&R, 2. udgave, side 131:

  "Pointers to structures are to frequently used that an alternative
   notation is provided as a shorthand. If p is a pointer to a
   structure, then

      p->member-of-structures
 
   refers to the particular member. (The operator -> is a minus sign
   immediately followed by a >.)"


--Henning


References