Modify the ch06/animation.cpp program in the books companion code to show arectangle
Chapter 6, Problem P6.30(choose chapter or problem)
Modify the ch06/animation.cpp program in the books companion code to show arectangle that travels from the left of the image to the right and then back to the left.
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer