From: "Mickael Pointier" Newsgroups: comp.os.msdos.djgpp,comp.os.programmer,comp.graphics.algorithms Subject: Re: struct problem Date: Wed, 11 Aug 1999 10:10:17 +0200 Organization: DTR Linux/InterNetNews site Lines: 20 Message-ID: <7orb35$7eu$1@lyon110.dtr.fr> References: <7oqcfo$571$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: lsi132.dtr.fr X-Server-Date: 11 Aug 1999 08:09:09 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com No need for "struct" here, because he defines the struct with a "typedef". Mike zidharta AT yahoo DOT com a écrit dans le message <7oqcfo$571$1 AT nnrp1 DOT deja DOT com>... :instead of :vert_3d p000; :try :struct vert_3d p000; :when you declare the variable : :> typedef struct :> { :> int x; // x :> int y; // y :> int z; // z :> } vert_3d;