Books and Software
Required Text
Java Software Solutions by John Lewis and William Loftus.
Optional Text
Getting Started with Matlab by Rudra Pratap.
Software
You may do the programming assignments on a Macintosh or a PC. Cornell Information
Technologies (CIT) provides Metrowerks CodeWarrior and Matlab on Macs and PCs in its
public labs. Anyone is free to use CodeWarrior. To access Matlab, you will be given a user
name and password (identical for all students in the class). Do not give this password to
others. If you forget the password you must see your instructor.
Copies of CodeWarrior for personal machines are available at substantial educational
discount from the Campus Store, MetroWerks, and other software outlets. Here are some
helpful documents should you decide to go that route:
More information about CodeWarrior, including bug fixes and other updates, can be found on the company's website.
If you are going to be working on your own machine, then you should install the "CUCS Java stationary". Below are links to two files: one for the PC and the other for the Mac. Each contains "Java stationary" . If you have your own computer, then (1) choose the appropriate file, (2) download it, and (3) extract the files from it. Then read and follow the README file, which gives directions on storing the two projects into your CodeWarrior IDE (Interactive Development Environment) so you can use this "stationary".
If you want a personal copy of Matlab you can purchase a copy of The Student Edition of Matlab at the Campus Store or other bookstores. Be sure to get the correct version (PC or Mac).
>Using JDK instead of CodeWarrior
The files Format.java and TokenReader.java are required in some of the examples and programming assignments.
CUCSApplication.java and CUCSGraphicsApplication.java are stationeries that should be used for some of the assignments. Stationeries are 'skeletons of programs' that compile correctly. You just have to add you code to it.
The files should be copied into the directory in which the programming assignment's other files reside. Then compile all files like this: javac *.java
The classes Format and TokenReader should now be found by all other files in the same directory. Note that your CLASSPATH has to include the current directory too, like CLASSPATH= . :
Diskettes
You will need a few 3.5" floppy disks for your assignments. You may also use Zip disks. No personal files may be left on CIT's public machines. You must store your files on your own disks. You should also keep back-up copies of all your work on separate disks.