EXERCISES
- Graphical files are stored in various format like bmp, jpg etc. Study these file formats.
- What is the use of clipping the graphics at the view port boundaries? (constant CLIP_ON set to 1)
- Write a program to show a random walk.
- Develop functions to show and move a cursor with help of arrow keys.
- Develop a program which draws a straight line with the help of a mouse. If you drag the cursor (i.e. move mouse with left button pressed), the line should be drawn from initial point to current point. (Similar to PCpaint.)
- Write a program to draw a dart board consisting of seven concentric filled circles with two (or three) alternate colours.
- Write a program to draw an image resembling Kaleidoscope view.
- Draw an interactive program to draw geometric ...
Get Object Oriented Programming with C++, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.