From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: <7tubd0$95e4u$1 AT titan DOT xtra DOT co DOT nz> Subject: Re: Acessing member of structures All solved!!! Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Tue, 12 Oct 1999 22:03:58 +1000 NNTP-Posting-Host: 139.134.162.96 X-Trace: newsfeeds.bigpond.com 939730320 139.134.162.96 (Tue, 12 Oct 1999 22:12:00 EST) NNTP-Posting-Date: Tue, 12 Oct 1999 22:12:00 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Nicholas Parker wrote in message news:7tubd0$95e4u$1 AT titan DOT xtra DOT co DOT nz... > Hi All, > > Sorry to be such a pain....Ok I got it figured...dot has priority over star > so > > (*(i+nick)).re is the correct answer or (i+nick)->re The simple way to find out is to compile with -Wall and see if you get warnings and/or errors about your addressing method. -- Johan Venter ICQ 3643877 - jventer AT writeme DOT com The TPU DJGPP Interest Group - http://surf.to/djgppig The RSXNTDJ 1.5 HOWTO - http://surf.to/rsxntdj