Goals


Checklist

  • You should use the following submit command: /u/cs126/bin/submit 6 readme htree.c htree3.ps myprog.c picture.ps. You may rename myprog.c appropriately if you like. Do not submit any (PostScript) files larger than 1MB. (If you're unsure, use ls -l to list the files along with their size.) Such files will be discarded, and you will receive a 5 point penalty.

  • This assignment should be enjoyable and not nearly as difficult as the last one!

  • Please take a minute and fill out our mid-semester feedback form. Your input is greatly appreciated!

  • readme
  • Name, precept number
  • Description of problems encountered and high level description of code
  • Description of your artistic creation and how you went about creating it
  • Do not include any PostScript in readme file
  • executing and viewing
  • type a.out > picture.ps to redirect the output to a file; type gs picture.ps to view; if you get an error when trying to view, then your probably made a mistake with the PostScript syntax
  • htree.c
  • you should enjoy this one
  • myprog.c
  • we'll deduct if your picture is overly boring and too similar to htree.c
  • extra.c
  • combine the two main concepts you have been using and write a recursive PostScript program!
  • or "un-recursify" your program


  • Enrichment Links

  • Check out the PostScript section of the COS 126 FAQ List for more information.



  • Kevin Wayne