Course: CMPT-212 Object-Oriented Appl. Design in
C++ [2008-1]
Instructor: Jan
Manuch (jmanuch@sfu.ca)
TA: Cong Wang (Carrie) (cwa9@sfu.ca)
Lecture notes
|
|
Lecture notes |
Topics |
Last update |
Examples |
|
#1 |
History of C++, Compilation, Sample program, Coding standards |
Jan 10, 2008, 22:42 |
||
|
#2 |
Basic types, Constants, Operations, Type Conversions, Type Casting |
Jan 11, 2008, 00:34 |
||
|
#3 |
Conditional statements, Compound statements, Conditions, switch, Repetition statements (loops), break, continue |
Jan 23, 2008, 10:01 |
||
|
#4 |
Arrays, Structures, Unions, Pointers |
Jan 25, 2008, 9:52 |
||
|
#5 |
Storage types, Dynamic memory allocation |
Jan 28, 2008, 8:48 |
||
|
#6 |
Function call, void, Passing arguments by value, address and reference, Passing arrays, Passing structures, const, References, Returning from functions, Pointers to functions, Inline functions, Default arguments, Function overloading, Function templates |
Feb 6, 2008, 0:21 |
||
|
#7 |
Defining and accessing functions/variables in namespaces |
Feb 6, 2008, 10:19 |
|
|
|
#8 |
Encapsulation, Separate compilation, Preprocessor, Classes and objects, private and public class members, Constructor, Object initialization, Default constructor, Destructor, const methods, this pointer, Class inline functions, Static class members, User-defined type conversions, Friend member functions |
Feb 15, 2008, 13:40 |
||
|
#9 |
Non-member and member operator overloading, Working with ostream, Classes using dynamic memory, Copy constructor, Assignment operator |
Feb 18, 2008, 10:47 |
||
|
#10 |
Public “is-a” class inheritance, Member initializer list, Constructor and destructor chaining, Upcasting, Static and dynamic binding, Virtual methods, Inheritance and dynamic memory allocation, protected class member, Abstract base class and pure virtual methods |
Feb 22, 2008, 11:04 |
||
|
#11 |
Containment, Private inheritance, Protected inheritance |
Feb 22, 2008, 9:49 |
||
|
#12 |
Multiple inheritance, Virtual base class, New constructor rules for virtual base class |
Feb 29, 2008, 8:56 |
||
|
#13 |
typedef, Class templates, Friends to class templates, Type requirements, Template parameters: type, expression and template, Template instantiations and specializations |
Mar 3, 2008, 10:06 |
||
|
#14 |
Introduction to STL, Examples of containers, iterators, algorithms and function objects |
Mar 10, 2008, 1:19 |
||
|
#15 |
Container concept, Sequences concept, Sequences: vector, deque, list, Choosing a sequence container, Iterator concept, Hierarchy of iterators, Associative containers: set, multiset, map and multimap, Special iterators: reverse, stream and insert |
Mar 14, 2008, 18:55 |
||
|
#16 |
Types of function objects: generator, unary function, binary function, unary predicate and binary predicate, Predefined functors, binder1st and binder2nd templates |
Mar 14, 2008, 21:13 |
||
|
#17 |
Types: non-modifying sequence algorithms, modifying sequence algorithms, sorting and related algorithms, numeric algorithms |
Mar 19, 2008, 1:12 |
|
|
|
#18 |
Windows API, Windows GUI Application, WinMain(), “Window class”, Callback/Window procedure, Windows messages flow, Message loop, MFC Application, CWinApp class, Customizing main window, Message map |
Mar 27, 2008, 12:14 |
||
|
#19 |
MFC controls: CStatic, CMenu, CDialog, CEdit, CButton, CListBox, CComboBox, Resource files, Group boxes |
Mar 31, 2008, 15:05 |
||
|
#20 |
Processing mouse and keyboard messages, Icons, Timers, Graphics, Scrolling |
Mar 30, 2008, 23:31 |
||
|
#21 |
Throwing exceptions, Catching Exceptions, Safety of throwing exceptions, Rethrowing, Smart pointers, Qualifying the function headers, The exception class |
Apr 4, 2008, 20:04 |
||
|
#22 |
Formatting (manipulators), Stream states, C-string stream, String streams, File streams |
Apr 6, 2008, 19:32 |
General
Information
Course Information
Assignments
Last modified: 06-04-2008 20:33