The Programming Language: C++
This section of CS 367 will be taught using the C++ programming
language, and you will be required to do your programming assignments
in C++.
If you do not already know C++, you should read Chapters 1 and 2
of the book by Wang (see Textbook and Notes below).
We will be using the Gnu C++ (g++) under the Unix operating system on the Sun SPARCstations in the Sun Lab (Rooms 1358, 1363, and 1368). These are the machines that the TA will be using to check how your programs run, so you are responsible for getting your programs to run on the Suns. C++ implementations can differ, so if you use some platform other than the Suns to develop your programs (e.g., a home PC), you should test your program adequately on the Suns before turning it in. (In addition, you are on your own if you run into problems with a C++ implementation on a different platform; the TA is not required to help you out with such problems.)
Textbook and Notes
There is one required text book:
A handout on big-oh notation and the run-time analysis of algorithms will be available as of Friday, 9/24 at the DoIT Center. (The DoIT Center is located on the first floor of the Computer Sciences & Statistics building, on your right when you come in the building from Dayton Street.) The handout should be available by Friday afternoon. The handout will cost about $2.60. The handout is from Chapter 1 of a book called Compared to What? An Introduction to the Analysis of Algorithms? by Gregory Rawlins.
A handout on red-black trees will be available as of Friday, 11/21 at the DoIT Center. (The DoIT Center is located on the first floor of the Computer Sciences & Statistics building, on your right when you come in the building from Dayton Street.) The handout should be available by 1pm. The handout should cost less than one dollar. The handout is from Chapter Fourteen of a book called Introduction to Algorithms by Cormen, Leiserson, and Rivest.
make
, the Unix make utility
gdb
, the Unix C++ debugger