Teamwork exercise topic is published 9.3.2007

Basic information, updated May 2, 2007 (Hannu Laine)

C++-programming C0177 (CAP04S3)

This cource is basically ment for third year students and the prerequisite is the basic knowledge of C-language.

You have to register to the course using WinhaWille. The identification code of the course is C0177 and the implementation code is CAP04S3.

The unit provides an introduction to the use of object oriented programming in practical software development especially using C++-language. After completing the unit the student is familiar with the role and application possibilities of object oriented programming (OOP) in different areas of information systems development. He knows the principles and practices as well as tools of object-oriented programming. The special emphasis is on the features of C++ that are different form Java-language. These kinds of things are for example the memory usage and management, using pointers to objects and using C++ standard template classes and template algorithms in program development. The subjects of the course are important and necessary base knowledge for example in Symbian programming.


[ General  |  Main topics  | Record  | Course material Exercises  | Teamwork excercise  |  Exam ]

o General information


oMain topics


oThe history of topics of lectures


o Course material

Part 1 a    Part 1 b   (Differences between C and C++)

Part 2  (Introduction to the object oriented programming in C++)

Part 3  (Constructors and destructors)

Part 4  (Operator overloading)

Part 5  (Strings)

Part 6    (Static/dynamic arrays with object/pointer to object elements. Objects further can have dynamic/static members) 

Part 7   (Static members (keyword static) and different uses of const specifiers) 

Part 8   (Main component / sub component relation and association relation) 

Part 9a   Part 9 b (Inheritance)

Part10 a   Part 10 b  (More about inheritance)

Part 11 (Function templates and class templates. Introduction to STL: vector class and iterators.



o Exercises

Exercise 1

Exercise 2

Exercise 3

Exercise 4

Exercise 5

Exercise 6E

Exercise 7   xmltemperature_pohja.cpp  weather.xml

Exercise 8

Exercise 9

Exercise 10    (files counter.h  ,  counterDevCpp.obj  for DevC++ environment)

Exercise 11

Exercise 12

Exercise 13E

Exercise 14


 oTeamwork Exercise

You can find the description of the teamwork exercise here.  The recommended number of students in one team is three. One goal of this is to exercise working in teams and working according the principles of real project. It is necessary to divide the work into pieces, which are relatively independent from each other. It is also necessary  to compose a plan for the project to get it to proceed smoothly. The plan contains at least a list of subtasks, the timetable and responsibility chart (who is responsible for what task). More instructions for project work in this link.



 oExam