This page is for the COM 1101 section of Sergey Bratus

Class meets Mon, Tue, Thu 3:30 - 5:10 p.m. in 247 CN

My office is 19 CN, ph. 373-5119. Office hours: Mon, Thu 5:15 - 6:00 p.m. and by appointment. E-mail me at sbratus@ccs.neu.edu to set the time.

It is time to choose your Course Project.


The StickPic code is here.
The Self-expanding Table is here.
Have a look at the Practice Quiz on constructors, destructors and copy constructors. Then look at the solutions.
Here is the code for the Fractions example: These are just plain text files. Shift+click on the above links to save them (Option+click on a Mac).

A little example of operator() overloading, as promised.

The Midterm Exam is on Thursday February 18. Prepare by reviewing the code above, and these questions.

Read the myString example code to prepare for the exam. Be sure you understand what causes each line of its output. Paste the code from Netscape into your favorite compiler.


Look at the midterm solutions. This extra credit assignment extends the questions asked on the midterm and will improve your grade. Here is a pre-processed text fragment for this assignment, and the entire text of "Alice in Wonderland" from Project Gutenberg. There are many more public domain e-texts on the Web.

My quicksort file (without the actual quicksort -- you do that). OK, here is the SOLUTION , in the template form. You may use it for sorting your StringTables.


The Complex Polynomials lab has caused more difficulty than I expected. Here are a few more explanations.

Some code for a singly linked list. Similar code will be featured on the final exam. You need to implement a few features mentioned in this file to be well-prepared for the final.

Finally, here is the code for a template dynamic table. Since the "big idea" should be familiar by now, I included something extra in the code -- a few comments on consts and "const correctness". You may skip these on the first reading, and return to them later, if you want to know why two versions of operator[] are considered good style.


Hackers: CoreTools sources, CT emulator. The CT emulator code should work for both VC++ 5.0 and 6.0. It was reported that my .dsp (project) files caused crashes. So do this:
  1. Create a new Win32 Console project.
  2. Add my files manually to it.
Documentation and examples are coming soon. In the meantime read and run this main_test.cpp, which is a haphazard medley of various tests.

The syllabus and the class schedule are available on Ambassador (the CCS Systems Mac file server), in the Course Directories:COM 1101:Students:Bratus folder.

The texts for this course are

You are expected to read a lot of these texts on your own. Lippman and Lajoie's book is also intended to serve as a reference in C++ for you.

Beyond the textbooks:

Useful Links:

Personal: Local: General C++ Info: STL: Tell me if you find good on-line C++ or C references!