Hi,
Thanks for your precious help. I did some progresses and I made the following code. In next example I declared variables type char with a pointer. It works fine.
Now, I'm not sure if I'm doing the right way because I'm using pointers for copying constructors. I need your
opinion about...
About post above by uolj :
"In the copy constructor and copy assignment operator.
Declare them as private or..."
If I understood about last posts, we can't assignment an operator if that operator is private in a class?
If not, could you tell me how I can resolve this problem.
Although...
Hi,
I am relatively new at c++. I am writing a code with
constructors and i'm with some problems in this part.
I'm using Microsoft Visual c++ 2008.
Next code compiles right, but there is problems with
execution.
I think it is because i'm not working right with
constructors and the strcpy...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.