On Wednesday, 26 November 2014 07:16:12 UTC+2, fl wrote:
> I have a question about transferring data from a class to another.
> Today, I see the following line:
>
> We can use a class object for transferring data to another class.
>
> from a forum. But I do not have a clue on how to get it in C++.
> Could you explain it to me, especially by an example?
Internet is full of forums where lot of sentences are posted.
The sentences usually do not contain much wisdom. It is
hard to tell what the one you posted talks about.
In C++ we call member functions of object's class to inspect
or to modify object's state. Member functions are transferring
data into or out of object.