🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #1099

Wzajemna referencja struktur.

#1099
From: Adam Bienias
Date: Thu, 29 Jan 1998 16:12
12 lines
791 bytes
Mam problem ktorego jakos nie moge rozwiazac. Potrzebuje zdefiniowac
dwie struktury, przy czym kazda moze wskazywac na druga:

typedef struct {
   BETA_STRC  *hans;	
} ALFA_STRC;

typedef struct {
   ALFA_STRC  *kloss;	
} BETA_STRC;

Jak to zrobic ?
Technical Details
Message-ID: <34D0AA82.46D7@polbox.com.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!news.nask.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!news.nask.pl!not-for-mail
From: Adam Bienias <souadam@polbox.com.pl>
Newsgroups: pl.comp.lang.c
Subject: Wzajemna referencja struktur.
Date: Thu, 29 Jan 1998 17:12:50 +0100
Organization: Slight
Lines: 12
Message-ID: <34D0AA82.46D7@polbox.com.pl>
Reply-To: souadam@polbox.com.pl
NNTP-Posting-Host: victoria242.waw.pdi.net
Mime-Version: 1.0
X-Mailer: Mozilla 3.0Gold (Win95; I)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit