can someone give me an idea on how to deep copy..
this is my solution but i dont know am i right.. can someone correct it pleae....
IPlist::IPlist (const IPlist & other)
//copy constructor to create a deep copy of other IPlist object
nodeType *tmp = new nodeType;
tmp->link = NULL;
while(other != NULL)
tmp->lnk = other->link;
tmp = other;
other = other->link;