delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/11/19:24:07

From: "Mickael Pointier" <mike AT defence-force DOT org>
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: <A7083B60FEDED7E0 DOT 7F2CBC07CD9B5AB8 DOT 019CE2E485CE12C4 AT lp DOT airnews DOT net> <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;



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019