From: "CORNU.Nicolas" Newsgroups: comp.os.msdos.djgpp Subject: typedef struct problem Date: Sun, 11 Apr 1999 14:14:26 +0200 Organization: Wanadoo, l'internet avec France Telecom Lines: 21 Message-ID: <7eq472$nor$1@wanadoo.fr> NNTP-Posting-Host: meaux11-205.abo.wanadoo.fr X-Trace: wanadoo.fr 923833378 24347 164.138.102.205 (11 Apr 1999 12:22:58 GMT) X-Complaints-To: abuse AT wanadoo DOT fr NNTP-Posting-Date: 11 Apr 1999 12:22:58 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com i 've got a typedef structure, i can access to the first elements of the struct (in a function) but when i declare sub structure in the primary structure, i've got error: by: mystruct->substruct->data i've got an error: -> is not valid if i use first elements of struct i haven't got any errors, that's work fine. thanks -- CORNU Nicolas E-mail: CORNU DOT Nicolas AT wanadoo DOT fr ICQ: 31463000 Homepage: http://perso.wanadoo.fr/nicolas.cornu/Index.htm