I don't think that you can rotate the elements in place.
You will have to copy the values into a temporary box and then put them back into the jar by rotating the positions.
Kurt
This is a discussion on Program to move box in a jar - what is wrong? within the C++ Programming forums, part of the General Programming Boards category; I don't think that you can rotate the elements in place. You will have to copy the values into a ...
I don't think that you can rotate the elements in place.
You will have to copy the values into a temporary box and then put them back into the jar by rotating the positions.
Kurt