Comp 2673
Spring 2002
Homework 5
Due Wednesday, May 15
- (20 pts) Write a graphics program that inputs a polygon from the user and
displays it. You may choose the interface - begin by writing to cout
directions for using the program. After you're done inputting the polygon
from the user and displaying it, call cs3g_waitEvent so that the window
remains on the screen until the user gives more input. Zip a directory
with the program and a makefile and mail it to comp2673@cs.du.edu
- (15 pts) Write a description of how the user interface to your program
will look. It should be detailed enough to fully describe the operation of
the program. Think carefully about how the program will work, both in terms
of how easy it will be for the user to learn and operate, and in terms of
how you will write the program.
- (15 pts) Write a description of how the internals of your program work.
Include a declaration of all classes, a list of source files, and a
brief description of what work will happen in each class or source file.
Your declaration should be well-commented - enough to really help a client
use it.
Note: The second two problems together give you your program document.