COMP114 Program Code
Useful Utilities
- Keyboard input
- ReadURL
- Example of using local files with
ReadURL.
- Program to generate pseudo-random reference
files for Program 4. Send me
email if you find a bug.
Examples
- Use of "break" statement in Case.
- Floating point in for statement
- Break in while loop
- Use of continue
- Scope
- Command-line parameters
- 1/22 -- Parameter Passing
- 1/22 -- References
- 1/24 -- Rectangle and Rectangle2
- 1/31 -- Shapes example that I created in
class
- 2/5 -- Expanded shape example
- 2/12 -- Made Shape an abstract class
- 2/14 -- Callback example
- 2/14 -- Swing GUI examples (you also need the swingall.jar
file, also available as swingall.zip)
- 2/19 -- Example of enumeration, example
of menus
- 2/21 -- I/O Example
- 2/26 -- Message box example, Koch
snowflake
- 2/28 -- Fib1, Fib2, FibTimed
- 3/7 -- Examples of simple tic-tac-toe player,
TTT with alpha-beta pruning, and
original book TTT code (which will
not work in VJ++). The first two are VJ++ projects made from modified
code from Weiss book.
- 3/28 -- My example of Program 2. Note that
it's light on error checking. I only put in one example (in Magazine),
to show you how it might be done.
- 4/11 -- Example of inner class
- 4/11 -- Example of package.
Note that it unpacks into two folders. Read the README.txt file.
-
COMP114 Home Page
Last modified Thursday, April 11, 2002 08:37 AM