Hi I have problem in how to copy an objects contents to another object.
For example I have
base *p1=new base ();
base *p2 = new base();
// do some operation with p1
//Copy p2 contents to p1?????????
In the above example how do I copy the contents from p1 object p2 to another object p1?