EE 360C Course Announcements


Wednesday, 31 July

The final exam is Thursday, 1 August, from 9-12 in the morning, in CPE 2.216. Please be there on time.

The solution to homework 4 has been posted.


Monday, 22 July

A new homework assignment was announced today in class.

Tuesday, 16 July

The next homework assignment is due on Monday, July 22.

Sunday, 14 July

>Because of the number of questions I have been receiving concerning templates and the List and Iterator classes, I am extending the due date for Program #3 until Tuesday. This means that rather than taking a break, you should make sure that you do a complete implementation rather than cutting corners just to make the Monday deadline. It is important that you get this program working correctly.

Some C++ compilers are broken on a friend statement like:

friend class C;
Which is in the BiIterator template. If this is the case with your C++ compiler, the solution is to remove the friend statement, and put the constructor that is in the private section of the BiIterator class into the public section. Similarly, if the friend statement in the List template causes the compiler to complain, then you will need to put the Node struct into the public section of the List template.

Thursday, 11 July

Note about the programming assignment: I know that there is a List implementation in the book, and you should certainly study it, but I won't be too impressed if you just copy it and turn it in as your work. If you borrow code from the book, you should acknowledge where you got it in the comments in your own source code.

The Iterator.h file is online. This software is provided as is, which no expressed or implied warranty of any kind. That is, you can use it and change it to meet your needs.

Officially, there is no class today---it is a study day for final exams for six week summer courses. I will show up anyway, and talk about the List program, answer questions, and give more examples of using iterators. I will consider this the makeup class for the cancelled class on Wednesday of last week.

Wednesday, 10 July

The solution to the midterm exam is now available.

Tuesday, 9 July

There was a missing line of code from the Node constructor example shown in class today. The online lecture-16 file is corrected. The change is to add a line to set the previous pointer of the node after the new node being inserted to point at the new node:
struct Node {

    Node* prev;
    Node* next;
    ...
    Node(Node* p = NULL) : prev(NULL), next(NULL) {
        if (p) {
            prev = p;
            next = p->next;
            p->next = this;
            next->prev = this;   // set previous pointer of next node to this node
        }	    	    
    }	    
 
    ...
};

Tuesday, 2 July

Mid-term exam today. There have been some questions and answers about the exam, which may be of interest to you.

The TA will be holding office hours from 11:30-1:00 today to answer any last minute questions.

Monday, 1 July

As of this morning, I have not received any questions regarding the mid-term exam. I will attempt to all email in a timely manner (note 6 hour time difference). Chakarat will be holding office hours on Monday afternoon and Tuesday before class in case you have questions for him.

The Mid-term exam is scheduled for Tuesday, July 2nd, 1-2:30 in ENS 302. The TA will adminster the exam in my absence. Send any questions you have to me via email. I will post the questions and answers to the web page so everyone can benefit.

Tuesday, 06/25/96

Reminder:


Friday, 06/21/96

For those of you that attended the Friday Makefile and GNU debugger help session, the source for the example Makefile is now available online.

Thursday, 06/20/96

There were a couple of errors on the lecture note handout. The corrected lecture notes are available now on the Lecture Notes page.

I pointed out all of them except one on the last slide (page 8 of 8) in the friend output operator function. Since the operator<< method is a friend of the IntStack class, it can access the private data, such as the array list; however, I left off the 's.' in the example on the notes:

ostream& 
operator<< (ostream& os, const IntStack& s)
{
    if (s.empty())
        os << "Stack is empty" << endl;
    else {
        os << "Stack contains:" << endl;

    for (int i = top; i > 0; i--)
        os << list[i] << endl;		// ERROR. list[i] of what object???
    }
    
    return os;
}
The code in the for loop to print the elements of the array list should be written as follows:
for (int i = top; i > 0; i--)
   os << s.list[i] << endl; 

Wednesday, 06/19/96

A new homework problem set has been assigned and the solution to homework #1 has been posted. See the homework page.

Monday, 06/17/96

Don't forget the Unix Makefile Tutorial on Friday (see announcement below). The only good documentation sources available on writing Unix Makefiles are:

Saturday, 06/15/96

There have been some questions & answers regarding Programming Assignment #1. Check it out.

Friday, 06/14/96

The course newsgroup is now operational. I will post questions that I receieve (anonymously) and my answers, so that everyone can benefit. To access news.cc.utexas.edu, you need to be running a news reader from a campus network address. If you have access to some other Internet service provider, then I believe the newsgroup is publicly readable, so you should look for it using your local news server.

The PDF versions of the lecture notes are now available. You can set up the defaults in Netscape to launch Acrobat Reader automatically when downloading a file with a .pdf file extension.

The special "Unix Makefile Tutorial" class session will be held Friday, 21 June, in Taylor 2.106 from 1-2:30. This is not a regular class meeting and is not required, but will be useful to those of you using Unix for C++ development. I will provide a handout and an interactive tutorial on writing and using Makefiles. I will also cover using the GNU debugger (gdb) with g++ if time permits.

Wednesday, 06/12/96

Some of you may be having problems reading and/or printing postscript lecture notes. This may be because you do not have the free GNU ghostview/ghostscript tools for your platform, or they are not working correctly. To solve this problem, I am in the process of generating Adobe Portable Document Format (PDF) files from the postscript files. PDF files can be read and printed using the free Adobe Acrobat Reader program for Windows, Macintosh, and Unix (Sun, HP, SGI, and AIX) systems.

Tuesday, 06/11/96

Information on programming assignment #1 is now available.

Monday, 06/10/96

The UT Co-op Textbook department tells me they ordered 12 new books and have 2 used books on hand. You can also order the book from over the Web by going to http://www.amazon.com, which is an online bookstore.