I am new c++ programmer.
I looked at the code for the "bouncing ball" which was said to be "hello world" of Win 32.
I have been trying to do the following:
1. Make the this ball move in a predefined rectangle (one ALREADY drawn) even before the ball starts moving
2. I also would like to make this ball to change color temporarily as it hits either ends of the rectangle for a few seconds and then change back to the original color. As it hits the other end of the rectangle again the ball should change color temporarily and then back again to the original color and keep doing this.
Please help the new programmer.