Jesus
2011-03-15 07:29:17 UTC
--------------------------------------…
struct node {
string value;
node * next;
};
class strSet {
private:
node * first //points to the first node of the object;
public:
...
strSet (const strSet& copy);
...
};
--------------------------------------…
I am having difficulty implementing this copy constructor. Can anyone shed some light? I'm not sure what to put in the body.
strSet (const strSet& copy) {