delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/28/17:34:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <393190C1.EF2206C0@web.de>
Date: Sun, 28 May 2000 23:33:53 +0200
From: Martin Henne <Martin DOT Henne AT web DOT de>
Reply-To: Martin DOT Henne AT web DOT de
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14 i586)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: OOP: Aggregation

I'm not shure, if this is an
real cygwin related issue, but
I need help of OOP-experienced
programmers in implementing an
Aggregation in C++. 

For example, if I have a class
'Car' and a class 'trafficSign',
the car should use the traffic
sign as an Aggregation. Therefore
I have to put something like

  trafficSign *mySign;

in the class-definition of 'Car'.
But what then? How to use this
Pointer?


Martin Henne

Martin DOT Henne AT post DOT rwth-aachen DOT de

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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