public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* OOP: Aggregation
@ 2000-05-28 14:33 Martin Henne
  2000-05-28 14:47 ` Chris Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Henne @ 2000-05-28 14:33 UTC (permalink / raw)
  To: cygwin

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.Henne@post.rwth-aachen.de

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: OOP: Aggregation
  2000-05-28 14:33 OOP: Aggregation Martin Henne
@ 2000-05-28 14:47 ` Chris Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Faylor @ 2000-05-28 14:47 UTC (permalink / raw)
  To: cygwin

I'm sorry.  This is very off-topic for this mailing list.

I would appreciate it if you would take this discussion elsewhere.

cgf

On Sun, May 28, 2000 at 11:33:53PM +0200, Martin Henne wrote:
>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?

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-05-28 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-28 14:33 OOP: Aggregation Martin Henne
2000-05-28 14:47 ` Chris Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).