Click here to Skip to main content
15,891,253 members
Articles / Programming Languages / C++

Collect data from an object of some other class

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
28 Feb 2010CPOL1 min read 7.6K   2  
There are circumstances, such as report or log entry, where we need to collect data from an object of some other (related or not) class. The C++ language only requires that we instruct the compiler how we intend to do it. This is simply achieved by defining a constructor of recipient_class...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
France France
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions