OOP doubt

Aclass *v3main;
Bclass *dobject;
v3main = dobject;   

May I know does this v3main = dobject become v3main will be object of Bclass ?
Where can I study about this kind of stuff?
Last edited on
The statement means,
v3main is a pointer to a Aclass.
dobject is a pointer to a Bclass.
Assign thevalue of the pointer to the instance of Bclass, dobject, to the instance of Aclass, v3main.

You have to start with object oriented design. This is a good place to start with UML, http://martinfowler.com/books/uml.html

You can't code C++ objects unless you have a design. I'm sure someone else can point you to a C++ source.
Topic archived. No new replies allowed.