Homework 1
Code for the all three parts:
ExerciseSet1Code.zip
ExerciseSet1Code.exe
Metrowerks projects:
ExerciseSet1A.zip
ExerciseSet1A.exe
ExerciseSet1B.zip
ExerciseSet1B.exe
ExerciseSet1C.zip
ExerciseSet1C.exe
Notes:
If you work with Metrowerks IDE on a Windows OS:
To work on Part A in the lab, click on ExerciseSet1A.exe
to download the self-extracting archive.
Double-click on the downloaded file. Select the location for the file it
will create (desktop is fine).
To start working on the project, double-click on the ExerciseSet1A.mcp
file.
This will start the Metrowerks project with all files in place.
Proceed in a similar way to work on the other two parts of the first homework.
If you wish to work in a different environment that Metrowerks on a PC:
Make sure every project you work on includes two libraries: jpt.jar
and Base.jar
They are included in ExerciseSet1Code.zip or ExerciseSetCode.exe
Save copies in the appropriate locations on your system for the future use.
The file ExerciseSetX.java is always the file that starts the execution
of the project.