Introduction to Graphics

Overview

For this lab, you will learn more about functions.

Getting Started

		         
host% cd
host% cd cis121
host% mkdir lab-book-14
host% cd lab-book-14
host% cp ~compsci/cis121/EXAMPLES/*.cpp .
host% ls

You should see graphic1.cpp - graphic6.cpp files. if you get an error message about missing directory, then be sure that you typed the space and period at the end of the cp commmand (the '.' symbolizes the current directory).

Print the SpelGraph Supplement from the lab web page(click the button to go back one page, and click SpelGraph Supplement and print it

Compiling these programs require some extra options. So use the following to compile these graphics C++ programs

GG++ file.cpp

That is not a typo. GG++ is Graphics G++ compiler here at Spelman.

Agenda

1. Read and complete exercises 14.1 - 14.5 on your own, followed by a discussion
2. In groups of 2, read and complete exercises 14.6 - 14.7
3.

Submit your own worksheets.