From: "Riley" Newsgroups: comp.os.msdos.djgpp Subject: Help with class "chicken or the egg" problem Date: Mon, 16 Feb 1998 03:59:17 -0800 Organization: AT&T WorldNet Services Lines: 22 Message-ID: <6c99k6$1u6@bgtnsc02.worldnet.att.net> NNTP-Posting-Host: 153.37.66.183 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I am having trouble writing a program. Is there an equivalent to a function prototype but for classes??? I have two classes that have pointers to each other and I can't figure out how to define them. Attached is a simple demonstration program to get my point across. Thanks, Riley hitzl AT usa DOT net begin 666 Test.cc M8VQAPT*"7!U8FQI8SH-"B @(" @(" @(" @(" @("!3971"*$(@ M*G!);D(I('L@<$(@/2!P26Y".R!].PT*"7!R:79A=&4Z#0H)"4(@*G!".PT* M?3L-"@T*8VQAPT*"7!U8FQI8SH-"B @(" @(" @(" @(" @("!3 M971!*$$@*G!);D$I('L@<$$@/2!P26Y!.R!].PT*"7!R:79A=&4Z#0H)"4$@ M*G!!.PT*?3L-"@T*=F]I9"!M86EN*"D-"GL-"@E!($UY03L-"@E"($UY0CL- H"@T*"4$N4V5T0B AT F37E"*3L-"@E"+E-E=$$H)DUY02D[#0I]#0H-"@`` ` end