News
Monday 25 October 2010: Due to an overlap with my other course at the University of Pisa, today lecture is canceled. The next lecture is going to be on Friday October 29 at 11.00, as shown in the calendar.
Slides
NEW FILE MATERIAL.ZIP (28 October 2010): It includes the first 13 set of slides, plus examples: material.tgz.
Important: to compile the examples, you will also need the following zip file: bruceeckel.zip. Please, unzip both zip files in the same directory, otherwise the classpath variable in the makefiles needs to be adjusted accordingly.
The slides are also available here for your convenience. They will made available as soon as I finish to write them! The "handout" version is for printing.
- Introduction (slides, handout)
- Introduction to OOP (slides, handout)
- Introduction to Java - 1 (slides, handout, examples)
- Introduction to Java - 2 (slides, handout, examples)
- Introduction to Java - 3 (slides, handout, examples)
- Introduction to Java - 4 (slides, handout, examples)
- Assignment (slides, handout)
- Strings, File I/O, ArrayList, exercises (slides, handout, examples)
- Containers and Generics (slides, handout, examples)
- RTTI, Anonymous Inner classes, Stack, Binary Trees (slides, handout, examples)
- Introduction to C programs (slides, handout, examples)
- Introduction to C++ (slides, handout, examples)
- Overloading, Copy Constructor, Const, Operators (slides, handout, examples)
- More on constness, static members, pre-processor, composition (slides, handout, examples)
- Inheritance (slides, handout, examples)
- Templates (slides, handout, examples)
- Exceptions (slides, handout)
An example of test for C++. Similar questions will be asked during the oral examination.
Assignment
The assignment consists in writing a program to interpret numerical expressions. Here is the specification.