Forum: C++ Oct 15th, 2003 |
| Replies: 6 Views: 7,361 oh its to maintain a list of employees (for one of my assignments...) but its alrite^^ i fixed it --> didnt know that i can access the private data members of the passed instance in the... |
Forum: C++ Oct 14th, 2003 |
| Replies: 6 Views: 7,361 hmm.. well it works if i dont make the paramter const, so then i guess my question would be, does the parameter for a copy constructor always have to be const? (i know if im just copying values it... |
Forum: C++ Oct 13th, 2003 |
| Replies: 6 Views: 7,361 Hi, i need help creating a copy constructor.
i have a class called CElist (and another called CEmployee)
and it contains methods like this one:
bool CElist::getFirst(CEmployee& e)
{
//do... |