www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/12/14:44:31

From: Zomm <alpha AT alpha DOT alpha>
Newsgroups: comp.os.msdos.djgpp
Subject: Using different interfaces!?
Date: Thu, 12 Nov 1998 20:04:18 +0100
Organization: TU Dresden (URZ)
Lines: 13
Message-ID: <364B3130.81FA71BB@alpha.alpha>
NNTP-Posting-Host: rdial191.urz.tu-dresden.de
Mime-Version: 1.0
X-Mailer: Mozilla 4.05 [de] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have built a very complicated hierachy using classes and pointers to
them. I works fine as long as I use seperated headers and implementation
files. Now I wanted to introduce the "#pragma interface" feature, but I
get error messages as "unable to look up method of undefined struct
...".
I am using two classes with forward declaration having pointer to each
other.

Who can explain the method of using "interfaces" to me? And where do I
have to put in that mystical "#pragma implementation".

Zomm.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019