WEBGRAMMING ASSIGNMENT #5

Create an interactive C program which is capable displaying an image from a file and then shrinking or expanding the screen image and then saving the new image to a file.

The program should:

  1. clear the screen
  2. display the logo (from assignment #2) stored in a file
  3. request a scaling factor from the user (0.1 to 10.0)
  4. perform the shrinking or expansion on the screen
  5. accept from the user a new filename
  6. save the modified image to a file in a compressed format
  7. clear the screen
  8. restore the modified image from the file
  9. display your name, social security number and RICS account number on the bottom line of the sceen

The program should be compiled and stored on your RICS account and named pa5.exe.

Back to the syllabus, click here!


Last updated: Sept 11, 1996 14:40