Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!topaz.rutgers.edu!ron From: ron@topaz.rutgers.edu (Ron Natalie) Newsgroups: comp.lang.c Subject: Re: Need help with structure pointers Message-ID: <15477@topaz.rutgers.edu> Date: Sat, 10-Oct-87 18:05:08 EDT Article-I.D.: topaz.15477 Posted: Sat Oct 10 18:05:08 1987 Date-Received: Mon, 12-Oct-87 18:45:37 EDT References: <1778@killer.UUCP> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 13 The line stuff->*(++s) = 'X'; Should read *++stuff->s = 'X'; The only thing that can follow "->" (or ".") for that matter are element names. "stuff->s" is the character pointer in the structure pointed to by stuff. "->" binds tighter than everything else in the expression. -Ron