Message passing in UML and C++

hi.

I studied msg passing between objects but can anyone please show how it is really done in coding?

a) Object passing data to another Object
b) one object calls another object to invoke a method

Thanks
does not say about msg passing?
@ OP: Are you asking about IPC?
What sort of messages are you talking about?
Allow me to elaborate on my question OP. Are you asking how an object inside of process A communicates with another inside of process B? Otherwise I can't figure out what you mean by message passing and so I have to defer back to MikeyBoy's earlier answer.
I just saw in UML objects passing messages in sequence diagram...so I wanted to know how does this happen in actual coding...I myself is a new in this thing
In C++, those can be method calls. Calling a method of a class is analagous to sending a message to the object, because a method call is, essentally, an instruction to an object.

Incidentally, when I Googled "OO C++ message passing", the very first result explained this. You could have done an awful lot of Google searches in the last week and a half.
Hehe, if I don't ask qs google won't redirect to nowhere or to places such as this..ty btw
Topic archived. No new replies allowed.