mutual reference in structures
Geoff Rimmer
geoff at cs.warwick.ac.uk
Sat May 6 02:53:46 AEST 1989
In article <6712 at medusa.cs.purdue.edu> bouma at cs.purdue.EDU (William J. Bouma) writes:
> Please tell me how to get C to accept the following or equivalent code:
>
> typedef union a {
> b_ *pb;
> } a_;
>
> typedef struct b {
> a_ va;
> } b_;
>
> Bill <bouma at cs.purdue.edu> || ...!purdue!bouma
typedef union a {
struct b *pb;
} a_;
typedef struct b {
a_ va;
} b_;
Geoff
/---------------------------------------------------------------\
| GEOFF RIMMER - Friend of fax booths, ANSI C, PCBH, |
| American Cable TV & MPFC & VCRs |
| email : geoff at uk.ac.warwick.emerald |
| address : Computer Science Dept, Warwick University, |
| Coventry, England. |
| PHONE : +44 203 692320 (10 lines) |
| FAX : +44 865 726753 |
\---------------------------------------------------------------/
More information about the Comp.lang.c
mailing list