| www.delorie.com/archives/browse.cgi | search |
| From: | "Martin Ambuhl" <mambuhl AT tiac DOT net> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: struct in struct |
| Date: | Wed, 4 Mar 1998 22:19:45 -0500 |
| Organization: | Honors Bridge Club |
| Lines: | 20 |
| Message-ID: | <6dl5hr$dq2@news-central.tiac.net> |
| References: | <34FDCF71 DOT E34F2ED3 AT worldonline DOT nl> |
| NNTP-Posting-Host: | p6.ts1.newyo.ny.tiac.com |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reinier Heeres wrote in message <34FDCF71 DOT E34F2ED3 AT worldonline DOT nl>...
|Hi!
|
|How can I define a structure that should look something like this:
|
|typedef struct {
| int a,b,c;
| test *children[4];
| } test;
With the assumption that this is C:
typedef struct test {
int a,b,c;
struct test *children[4];
} test;
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |