Discussion Board
There are no previous messagesGo to the following message
Current Forum: Homework 6 - Part II
Date: Tue Dec 4 2001 4:04 pm
Author: White, David <white3@andrew.cmu.edu>
Subject: makeClone()

I'm finding that even though I do a "new" inside
the make clone operation, when I modify the clone
it modifies the original. I explicitly create a new
playingBoard array and copy the old values into it.
Is anyone else having problems with this?
Post response

There are no previous messagesGo to the following message
Current Thread Detail:
makeClone()      White, David      Tue Dec 4 2001 4:04 pm       
-->getClone()      White, David      Tue Dec 4 2001 4:28 pm       
Copy array      Scherer, Sebastian      Thu Dec 6 2001 1:58 pm       
Re: -->getClone()      Dozzi, Giancarlo      Fri Dec 7 2001 1:30 pm       
Whoops      Dozzi, Giancarlo      Fri Dec 7 2001 2:37 pm       
Re: Whoops      White, David      Fri Dec 7 2001 2:43 pm       
Re: Whoops      Chen, Richard      Tue Dec 11 2001 1:03 am       

Back to previous screen