hi I'm wondering what I'm doing wrong I have passed an object of class to another class that accepts an objext as that class as it's parameter,I'm lost as to this won't work for me,
The copy constructor is a constructor which creates an object by initializing it with an object of the same class, which has been created previously. The copy constructor is used to: Initialize one object from another of the same type. Copy an object to pass it as an argument to a function. http://www.tutorialspoint.com/cplusplus/cpp_copy_constructor.htm