News archive


  1. 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.

    Posted: Thursday, December 5, 2002

  1. 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.

    Posted: Monday, December 2, 2002

  1. 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.

    Posted: Wednesday, November 27, 2002

  1. No office hours this Wednesday (November 20).

    Sorry about any inconvenience.

    Posted: 8AM, Tuesday, November 19, 2002

  1. 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.

    Posted: 9:20PM, Tuesday, November 12, 2002

  1. Assignment 5 is posted.

    It will be discussed in class on Tuesday, November 12.

    Posted: Thursday, November 7, 2002.

  1. Click to see news items posted earlier.

    Posted: Thursday, November 7, 2002

  1. 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.

    Posted: Tuesday, November 5, 2002

  1. The take-home exam is posted.

    Posted: Monday, November 4, 2002

  1. 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.

    Posted: 9AM, Friday, November 1, 2002.

  1. 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;
     }
    
    does not compile in some settings (including some or all of our lab) because the itoa function is not available. Here is an alternative:
     #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 ();
     }
    
    You can copy this from ~karl/public_html/2270.fall02/ArithmeticExpressions/constructor.cxx.

    If this still does not work for you in the lab, do this:

    mv ~/.cshrc ~/.cshrc-
    cp ~karl/.cshrc ~
    source ~/.cshrc
    
    (This makes sure that we are all using the same version of the compiler.)

    Posted: 9AM, Friday, November 1, 2002. [Edited Tuesday, November 5.]

  1. Lab exam next week (Monday/Tuesday, November 4/5)

    There is a sample set of problems.

    Posted: Noon, Tuesday, October 29, 2002.

  1. 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.

    Posted: 10AM, Wednesday, October 23, 2002

  1. Midterm solutions are posted.

    Posted: Wednesday, October 23.

  1. 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.

    Posted: 10PM, Wednesday, October 16, 2002. Edited 7AM, Monday, October 21.

  1. “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)
    
    I changed the Makefile for this assignment to use ./LotsOfStuff instead of LotsOfStuff, which fixes the problem but you might still want to add that dot to your path.

    Posted: 8AM, Wednesday, October 2, 2002

  1. 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.

    Posted: Tuesday, October 1, 2002

  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 };
    

    Posted: 8AM, Friday, September 27, 2002

  1. 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.

    Posted: 3:45pm, Tuesday, September 24, 2002

  1. Assignment 3 is available.

    Posted: Monday, September 23, 2002

  1. Notes from recent class discussion

    There is a pointer on the course home page to "Current notes".

    Posted: Tuesday, September 10, 2002

  1. 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

    cp ~karl/public_html/2270.fall02/ThrowingStuff/Makefile .
    The dot matters; it means copy "into the current directory."

    Posted: Monday, September 9, 2002

  1. 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    
    
    Note that all the lab hours are held in ECCR 1B54/56 (these are two doors into the same general lab area), not in ECCH 105 (our regular recitation room).

    Posted: Noon, Saturday, September 7, 2002

  1. Links to information about the lab are in the top right corner of the course home page..

    Posted: 4PM, Tuesday, September 3, 2002

  1. 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.

    Posted: 6:30 PM, Monday, September 2, 2002

  1. 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.

    Posted: 11AM, Thursday, August 29, 2002

  1. 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.

    Posted: Friday, August 23, 2002

  1. 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.

    Posted: Friday, August 23, 2002


Back to top

3:40 PM, Thursday, December 12, 2002