Learning objectives
The course is intended to provide the practical knowledge necessary to develop simple programs in the C++ programming language.
Prerequisites
Basic concepts and techniques of imperative and object-oriented programming as provided by course 'Fondamenti di Programmazione'
Course unit content
<br />Programming environment: editor, compiler, linker (hints) - Simple programs using the imperative part of C++ - Basic input/output - Using control structures - Definition and usage of arrays, strings, and structs -= Definition and usage of functions - File input/output using streams.<br />Class declaration. Examples: the classes 'razionale' and 'tempo' - Exception handlin - Inheritance. Example: the class 'datatempo' - Pointers and dynamic memory allocation. Example: the class 'pila' - Parametric classes. Example: the calss 'vett<T>' - Separate compilations and 'makefile' (hints).
Full programme
- - -
Bibliography
<br />H.M. Deitel, P.J. Deitel. C++ Fondamenti di programmazione, Apogeo, 2003, 696 pages.<br />[OR] S. Lippman, J. Lajoie. C++: Corso di programmazione, 3a Ed., Addison-Wesley, 2000.
Teaching methods
<br />Exams<br />Written and oral exam, plus development and demo of a practical application written in C++
Assessment methods and criteria
- - -
Other information
- - -