Subject: Object Oriented Programming 2
(12 -
SE1006) Basic Information
Course specification
Course is active from 20.11.2012.. Getting familiar with advanced concepts of object oriented approach using C++. Software development by simultaneous utilization of various programming approaches (multi-paradigm programming). After finishing the course the students are familiar with possibilities of C++; they can efficiently utilize the components of standard library; they understand the principles of the object oriented approach; knows the advantages and disadvantages of the programming language, and he can recognize the engagements where it is justified to use C++; he is aware of the language specific support for various programming approaches, and knows the pros and cons for those approaches. Introduction: basic characteristics of the programming language, evolution of programming language. Program structure: headers and libraries. Structure of a C++ program: global functions, main function, classes, templates (functions and classes). Autogenerated methods: constructors and assignment operators. Data streams: input and output, files, stream customization. Expressions: rvalue, lvalue, xvalue, glvalue, prvalue. Parameter passing (function parameters and return values): by value, by address, by lvalue reference, by rvalue reference. Error handling: reaction to error in program, exceptions, exception handling, exception classes in the standard library. Standard library: string, containers, iterators, algorithms. Containers: sequential (vector, stack, list, queue), associative-sorted i associative-hashed (set, map, multi-set, multi-map). Iterators: input, output, forward, bidirectional, with direct access. Algorithms: searching, modifiers, sorting, heap operations. Time measurement. Lectures, Computer Lab Exercises, Consultations.
|