This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]