i have 1 class that have members dependents of the class pointers. when i do the Copy Construtor with assignment operator, how can i use the instance class this, instead copy from 1 instance to another?
i don't want 1 instance member be pointed to another instance

I am not certain due to the ambiguity in your post, but I think you want to know how to do a deep copy. That is, how to copy pointer values of one class to another such that they don't point to the same object. For this I would point you to mike_2000_17's RAII tutorial (http://www.daniweb.com/software-development/cpp/tutorials/373787/beginning-c0x-making-a-raii-class) however the basis behind a deep copy is to create a duplicate of whatever data is pointed to.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.