# Lab 01

What to do:

1. With whatever SSH client you have installed (e.g., PuTTy on Windows, or ssh via the Terminal application in OS X, etc.), connect to mathcenter.oxford.emory.edu and create inside your home directory a directory called "cs170_fall_2017_lab01".

2. Create a file named CartesianToPolar.java as described in problem 8 in the section entitled Exercises - Arguments & Expressions, saving it to your cs170_fall_2017_lab01 directory. Complie this file on the server and then run the resulting class file to make sure it works appropriately.

3. Create a file named MagicTrick.java as described in problem 9 in the section entitled Exercises - Arguments & Expressions, saving it to your cs170_fall_2017_lab01 directory. Compile this file on the server and then run the resulting class file to make sure it works appropriately.

4. Create a file named FaceDrawer.java as described in problem 2 in the section entitled Exercises - The ACM Libraries. Run this program via Eclipse on your local machine to make sure it works appropriately. Note, DO NOT ATTEMPT to compile, run, or otherwise test this program on the server. This is a graphics-based program that requires the ACM libraries. Trying to run a graphics-based program completely inside a text-based environment (like PuTTy or the OS X terminal) will simply not work. As such, do all testing on your local machine (e.g., your laptop) instead. When you are satisfied your program works like it should, upload the SOURCE CODE ONLY (i.e., the file that ends in ".java") to the server in your cs170_fall_2017_lab01 directory.

5. Finally, on the command line from your home directory type the following and hit return, to turn in all your work for this lab:

java -cp /assignments TurnIn cs170_fall_2017_lab01

Note, there should not be a slash at the very end (beware, the computer may try to add one for you, depending on whether or not auto-complete is used).

THE FOLLOWING IS VERY IMPORTANT: WHEN CREATING ANY FILES OR FOLDERS, OR WHEN UPLOADING ANY FILES AND FOLDERS -- USE EXACTLY THE NAMES SPECIFIED IN THE DIRECTIONS -- EVEN DOWN TO THE CAPITALIZATION OF THE LETTERS. IF YOU DON'T, YOUR PROGRAMS WILL NOT BE ABLE TO BE TURNED IN CORRECTLY.