Sir, I.m trying to make a basic C++ program in which i want to implement basic animations of shapes. I initially thought of implementing it by drawing the image in white, setting a delay of a few milliseconds and then redrawing the image in black. But, the output shows the rectangle flashing. What other method can i use to implement animations? |