reference

Jan 29, 2014 at 11:40pm
when i move q1 does p moves too ?
1
2
  Point q1 = p; /*invokes copy constructor*/
q1.move(1, 1); 
Jan 29, 2014 at 11:43pm
If you make a copy of the mona lisa and then deface that copy, does the original mona lisa get defaced too?

What do you think a copy is? What do you think it means to make a copy?
Last edited on Jan 29, 2014 at 11:44pm
Topic archived. No new replies allowed.