Lecture Supplements


[Homepage] | [General Lab Info] | [TA's & Tutors] | [FAQ's] | [Homework] | [Excellent Programs] | [Exams]

  1. Here is a link to some nice reference material on emacs. If you can print postscript, the reference card prints nicely on two sides of an 8.5 x 11 piece of paper. There are also html and plain text versions.
  2. In the lab we will be using the standard/free SDK from Sun Microsystems running under Solaris (UNIX). You can download a version for Windows for free from the link in the previous sentence.
  3. To run Java in the lab you will need to follow these instructions.
  4. To run Java on your home computer, including the tio package required for this class follow these instructions.
  5. You want to use the beta release of tio that includes the methods readLineNonwhite() and readCharNonwhite(), instead of the one linked to above.
  6. If you are looking for a simple, Java aware, editor for use on your personal Windows machine, I think jedit and TextPad are very nice. jedit is free and is written in Java. If you try jedit, be sure and use the plug-in manager to install at least the Java Compiler plug-in. TextPad is a commercial product but you can try if for free. It is probably a tiny bit simpler to get going, and it more stable. From TextPad you can compile and run Java programs with a menu selection (or shortcut key stroke).
  7. You might want to print a copy of my notes and bring them to class.
  8. If you are a CS/CE/EE/ISM major, you might want to check out the IEEE Student Chapter, or the ACM Student Chapter.
  9. Here is the standard Java class documentation.
  10. Here is the documentation for tio.
  11. Here a multiplication table example from class on April 12, 2001. It uses a nested loop, that is, one loop inside of another loop (Chapter 3).
  12. Here is an example that shows that you can modify non-primitive values inside of functions, and have the effect be visible back where the function was called (Chapter 4).
  13. Here is where you can down load emacs for Windows. You want the file named something like emacs-XX.X-bin-i386.tar.gz.
  14. Here is the documentation for the cards package needed for hw8 (the video poker game). To work at home copy cards.jar onto your computer. You may need to use right click and then "Save Link As" into to save the file. Just clicking on it may give a strange error message. Once you have downloaded the file, the easiest thing is to put the file (cards.jar) in the same directory as your files, and then type the command
        jar xf cards.jar
    
    which will extract the class files from the jar file and put then in a folder in your current directory. If you know how, you can alternatively modify your CLASSPATH environment variable to include somePath\cards.jar. Of course the backslash should be a forward slash if you are running some version of Unix. In the lab, I have placed the cards package in the same directory as tio so you don't need to do anything extra.
  15. Here is the source to the Cards package if you want to look at it. Sorry my comments are probably not up to par. Be sure and right click and use save as. To extract the source files (e.g. Card.java) from the jar file type "jar xf cardsSrc.jar" at the command prompt while in the directory containing cardsSrc.jar. This will create a directory cards with the files in it.
  16. To share a directory with your partner do the following.

    1. Make a directory (e.g. mkdir 12a).

    2. Execute the command: fs sa 12a partnersLogin read

    That will let your partner read the files in that directory. If you are also letting your partner modify (this includes deleting) the files in that directory, then replace the "read" in the command with "write".

  • Here are some links to Pair-Programming papers.
  • Here is a link to the code examples from the book.
  • Here is a link to the errata list for the text. I'm a bit embarrassed by its length, but you should really take the time to sit down and mark the corrections in your copy.
    [Homepage] | [General Lab Info] | [TA's & Tutors] | [FAQ's] | [Homework] | [Excellent Programs] | [Exams]

    This page maintained by Charlie McDowell. Email regarding this site.