תיכנות מונחה עצמים (++C)

סילבוס

מס' סד'

נושא

שבוע מס'

1

Introduction to C++

 

1.1

C++ as superset of C-language

1

1.2

Function overloading

1

1.3

Default parameters

1

1.5

References. References versus pointers

1

2

Classes

 

2.1

Class definition and instantiation. Objects

2

2.2

Members of class. Access rights

2

2.4

Member function peculiarities. Inline and non-inline member functions. this pointer

3

2.5

Constructor of class. Default, copy and initializing constructor

3

2.6

Destructors, temporary variables

4

2.7

new and delete operators. Dynamic object creation

4

2.8

Class composition (aggregation)

5

2.9

Friend functions and classes

5

3

Operator overloading

 

3.1

Unary and binary operators

5

3.2

Member and non-member opertor

6

3.3

Increment ( decrement ) operator overloading

6

3.4

Overloading of <<, >>, [] and casting operators

7

4

Inheritance

 

4.1

Inheritance definition. Access to inherited members

7,8

4.2

Inheritance and constructors

8

4.3

Inheritance and casting

8,9

4.4

Virtual functions

9

4.5

Virtual destructors

9

4.6

Polymorphism, abstract classes

10

 

Exception handling

10,11

5

Templates

 

5.1

Definition and using of template class

11

5.2

Definition and using of global template function

11,12

6

Introduction to Standard Template Library (STL)

 

6.1

Namespaces

12

6.2

Containers, iterators, function objects, predicates

13

6.3

Review of vector<T> class

13

6.4

Review of list<T> class

14