www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/12/07:55:04

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: class as argument of method of class ???
Date: 12 Mar 2001 12:13:39 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 20
Message-ID: <98iehj$je9$1@nets3.rz.RWTH-Aachen.DE>
References: <3AA25734 DOT 72FA5B67 AT t-online DOT de>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 984399219 19913 137.226.32.75 (12 Mar 2001 12:13:39 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 12 Mar 2001 12:13:39 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Kai Dietrich <toepferei DOT dietrich AT t-online DOT de> wrote:
> Is this possible:

> class test_class
> {
>  void methode(test_class *test);
> };

Don't know. But this is a pure C++ language question, which has no
particular relation to DJGPP at all, so it had better been asked in
a C++ language newsgroup.

> I need to acces a whole instance of a class in the same class. Is
> there a "wourk around"?

There's the "this" operator, I think.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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