Re: C question about structs
Re: C question about structs
- Subject: Re: C question about structs
- From: "Craig S. Cottingham" <email@hidden>
- Date: Mon, 23 Jul 2001 13:49:01 -0500
On Monday, July 23, 2001, at 12:31 , Alex Golovinsky wrote:
typedef struct B;
typedef struct
{
B *myb;
}A;
typedef struct
{
A *mya;
}B;
Try this:
struct B;
typedef struct A
{
struct B *myb;
} A;
typedef struct B
{
A *mya;
} B;
--
Craig S. Cottingham
email@hidden
PGP key available from:
<
http://pgp.ai.mit.edu:11371/pks/lookup?op=get&search=0xA2FFBE41>
ID=0xA2FFBE41, fingerprint=6AA8 2E28 2404 8A95 B8FC 7EFC 136F
0CEF A2FF BE41