Stuff
public text v1 · immutableEncoder::Encoder(const Encoder & rhs)
{
pictureSize = rhs.pictureSize;
idx = rhs.idx;
picture = new BMP**[pictureSize];
totalShares = new int*[pictureSize];
for (int i=0; i<pictureSize; i++)
{
totalShares[i] = rhs.totalShares[i];
picture[i] = new BMP * [*totalShares[i]];
for (int j=0; j<*totalShares[i]; j++)
{
*picture[i][j] = *rhs.picture[i][j];
}
}
}