|
From: Gunhouse <gun...@mt...> - 2003-07-04 23:14:21
|
Sorry that should be:
struct TB ;
typedef struct TA
{
TB* Bstruct;
};
-----Original Message-----
From: Craig Gunhouse [mailto:int...@ho...]
Sent: Tuesday, July 01, 2003 11:47 PM
To: ClassBuilder
Subject: Re:struct declaration in fixed order generating compiler errors
Declare TA as:
struct
typedef struct TA
{
TB* Bstruct;
};
Craig Gunhouse
>From: Wim Bekker
>Reply-To: cla...@co...
>To: "ClassBuilder"
>Subject: struct declaration in fixed order generating compiler errors
>Date: 1 Jul 2003 06:38:09 -0700
>
>
>Hi,
>
>I have a "Other Type" say TA:
>Typedef struct TA
>{
> TB* Bstruct;
>};
>
>and TB:
>Typedef struct TB
>{
>};
>
>In the main-header file, TA is declared before TB resulting in a compile
>error.
>
>How can I fix this?
>
>Wim
>
>
>[Sponsored by:]
>___________________________________________________________________________
__
>The newest lyrics on the Net!
>
> http://lyrics.astraweb.com
>
>Click NOW!
>
----------------------------------------------------------------------------
--
Tired of spam? Get advanced junk mail protection with MSN 8. [Sponsored
by:]
____________________________________________________________________________
_ The newest lyrics on the Net! http://lyrics.astraweb.com Click NOW!
|