CS 215 - Data Structures and Algorithms
MWF 11, KC-131
Announcements
These are announcements made in class or via email currently in effect
for this course.
Saturday, February 1, Re: Case insensitive face card values?
Steven Fodstad asked:
The spec says that the values of T, J, Q, K, and A should
represent the values of the face cards, but the carddriver
program's sample test data checks for lower case t. Should it be
case insensitive or should the letters be changed to their lower
case equivalents? In either case, an addendum to the spec is in
order. The other possibility is a change to the carddriver test
data. (to check for upper case T instead of lower case t)
Good question. Case insensitive input is allowed, converted to
uppercase representation when encountered.
Friday, January 31, Re: Correction to carddriver.cpp for Project 1
There was a small error in the carddriver.cpp file. I forgot to put
using namespace std;
in after the includes. You can do this yourself, or copy over the
(corrected) file again.
Links
This is a list of links to resources that may be useful in this
course.
- Dr. Hwang's list of programming
links including information on emacs, vi, Unix, and Linux.
- Cygwin, a UNIX environment for
Windows
-
Putty, a free terminal emulator for Windows that works
much better than the built-in Windows telnet client, especially for
remote access to Unix boxes and using Unix editors
-
Commands to make vi display TABs as 3 spaces instead of the default 8
spaces courtesy of Tim DeBaillie.
However, these .vimrc commands only effect how the tabs are
displayed in vi. When the tabs are printed by a2ps, the
default 8 spaces is still used. However, a2ps has a command
line option (-T#) to have it print tabs as some number of
spaces other than the default. It is used as follows to get 3
space tabs:
a2ps -T3 file1 file2 ...
Handouts
This is a list of documents posted for this class in reverse
chronological order. Some will be available in hard copy as well.
- Friday, April 25
- Wednesday, April 23
- Friday, April 11
- Wednesday, April 9
- Monday, April 7
- Wednesday, April 2
- Monday, March 24
- Wednesday, March 19
- Wednesday, March 5
- Monday, February 24
- Friday, February 28
- towers.cpp - Towers of Hanoi program
(Figure 7.2 of the textbook)
- parse.cpp - Recursive descent parser
for simplified arithmetic expressions (Figure 7.3 of textbook
with PrintDebug)
- Monday, February 24
- Monday, February 10
- Wednesday, February 5
- Wednesday, January 29
- Monday, January 27 - Code used in lecture; basically the
code presented in Chapter 3 gathered into one place with Makefiles.
These files are also available in /home/hwang/cs215/time on
csserver.
- Wednesday, January 22
- Wednesday, January 15
- Monday, January 13
Back to Dr. Hwang's Home Page
Last modified April 24, 2003