Alan's office hour moved
Alan's office hour that would normally be held Thursday, December 5, 11AM has been moved to Friday, December 6, 1PM.
Assignment 5 deadline extended to Monday, December 9.
Because of the problems with the lab the deadline for Assignment 5 is extended by six days, to Monday, December 9.
Sorry about the frustration over the lab situation.
Using code from the textbook for Assignment 5
You may use code from the textbook for Assignment 5. If you do, you need to add comments to acknowledge the source. This is probably most pertinent for the graph 3-coloring version of the assignment.
No office hours this Wednesday (November 20).
Sorry about any inconvenience.
Two versions of CDraw
There are two versions of CDraw floating around. If you are using a tree drawing function from the sample solution for ArithmeticExpressions or from the rBinSearchTrees demo use the CDraw.java and Tape.java from the same directory (and not from directories with solutions for ThrowingStuff and LotsOfStuff). Otherwise you may get misaligned text and circles.
Assignment 5 is posted.
It will be discussed in class on Tuesday, November 12.
Click to see news items posted earlier.
Assignment 4 extended by one day
Because of the mixup with the conversion from integers to strings you can turn in Assignment 4 as late as midnight between Wednesday and Thursday.
The take-home exam is posted.
File names and Makefile for Assignment 4
Please use filenames as spelled out in the assignment, i.e., lower case expression.h and expression.cxx and main.cxx (even though I used different spellings in class in some examples).
This is only about file names. There is no need to change any names of classes within your program.
Make your submission consistent with the makefile in ~karl/public_html/2270.fall02/ArithmeticExpressions/Makefile.
There is no need for your program to produce graphical output.
Send me email at karl@cs.colorado.edu if any questions or problems arise. I will post answers here.
Problems with itoa in Assignment 4
This constructor
Expression::Expression (int token)
{
initialize ();
char buffer [100]; // to hold a C-style string
itoa (token, buffer, 10);
this->token = buffer;
}
#include <strstream>
Expression::Expression (int token)
{
ostrstream s;
// s << token << endl;
s << token << ends; // 'ends' works for more
// versions of the compiler than 'endl'
initialize ();
this->token = s.str ();
}
If this still does not work for you in the lab, do this:
mv ~/.cshrc ~/.cshrc- cp ~karl/.cshrc ~ source ~/.cshrc
Lab exam next week (Monday/Tuesday, November 4/5)
There is a sample set of problems.
No office hours this Friday (October 25).
Sorry about any inconvenience. I want to attend a talk about internet history and culture (Clark Conference room, College of Engineering and Applied Science, Friday, October 25, 2-3pm). You are invited, too.
Midterm solutions are posted.
Midterm exam on Tuesday, October 22, in class.
The exam will consist of questions related to Assignments 1 through 3.
Open book, open notes, no computers.
There will be some multiple-choice questions and some short programming problems.
“LotsOfStuff: Command not found”
That error occurs if you are trying to execute LotsOfStuff but the "path" variable set in your .cshrc file (which is in your home directory) does not include the “current directory&rdquo, shown as a dot:
set path=(. /usr/local/bin /usr/ucb /usr/bin /bin)
Changes in due dates and such
Look at the schedule and syllabus for details. Assignment 3 is now due Thursday after Fall Break. And we'll do without Lab exam 1.
Choosing colors for MovingObject-s
There is a brief example illustrating the use of colors and the enumerated type
enum Color { black, blue, gray, lime, red, white, yellow };
Problems with drawing in Assignment 2
Apparently in ECCH 105 the drawing does not work (or rather the piping into the drawing program).
It does work in ECCR 1B54/56.
Until we figure out what causes that different behavior please use ECCR 1B54/56.
Because of this issue the deadline for Assignment 2 is extended by a day.
Assignment 3 is available.
Notes from recent class discussion
There is a pointer on the course home page to "Current notes".
Makefile for Assignment 1
A suitable Makefile is in http://csel.cs.colorado.edu/~karl/2270.fall02/ThrowingStuff. Feel free to use it.
Make sure if you copy and paste it that the white space at the beginning of the lines consists of a tab character. Spaces won't work; a single tab does.
If you are in the lab, you can copy the file by
Lab hours of TAs
Monday 11:00-12:30 ECCR 1B54/1B56 Alan Tuesday 12:30- 2:00 ECCR 1B54/1B56 Cyrus Tuesday 3:30- 4:30 ECCR 1B54/1B56 Trevor Tuesday 5:15- 6:15 ECCR 1B54/1B56 Damon Thursday 11:00-12:30 ECCR 1B54/1B56 Alan Friday 3:00- 4:30 ECCR 1B54/1B56 Cyrus
Links to information about the lab are in the top right corner of the course home page..
Session about Unix lab IN THE CLASSROOM
We'll have a class session on Unix, the lab, and related issues on Tuesday, September 3, at our usual class time (2-3:15) in our classroom (MCDB A2B70).
Tor Mohling will tell you about the lab; Trevor Stone will be available for course-specific questions.
Tuesday recitations will be held and will also offer a chance to learn about and ask questions about the computing environment for this course.
Special lab session Tuesday --- no lecture!
There will be an introduction to Unix lab next Tuesday, September 3, 2-3:15, instead of class. This is meant for those of you who either missed the first recitation or would like some more information about Unix.
I will post the location here as soon as it is determined.
Textbooks
The bookstore may be temporarily out of stock. Until the books are back in stock I will bring copies of pertinent pages to class.
Recitations are being held in first week
We will hold the recitations on Monday, August 26, and Tuesday, August 27, even though they occur before the first lecture. The main order of business is to take care of some logistics including logins and to get used to the computing environment.
All recitations are in ECCH 105 (that's in the Engineering Center in the Chemical Engineering wing.) Recitation R011 (M 8AM [this was earlier listed erroneously as 10AM]) is cancelled because of low enrollment. Recitations R015 (M 5PM) and R016 (T 9:30AM) have openings.
© 2002 Karl Winklmann