Navigate to list of lectures -- Keyboard shortcut: 'u'  Previous lecture -- Keyboard shortcut: 'p'  Next lecture -- Keyboard shortcut: 'n'  Course home        Alphabetic index  Exit possible frame set        First slide  First annotated slide  Lecture notes - all slides and notes together        Help page about these notes
Lecture 3

LECTURE 3:
Abstraction Mechanisms, Part 1

Kurt Nørmark
Department of Computer Science, Aalborg University

Title page            Abstract            References from this lecture            Exercises in this lecture            Source programs in this lecture            

Page 1From C# classes to C++ classesPage 19Implicit Conversion
Page 2Organization of classes and membersPage 20Classes and Conversion: Examples
Page 3Classes, structs and namespacesPage 21Static class members
Page 4Functions outside classesPage 22Const member functions
Page 5ConstructorsPage 23Const member functions - const and mutable
Page 6Constructors - initialization versus assignmentPage 24Object Self-reference
Page 7More about constructorsPage 25Inline member functions
Page 8Use of constructorsPage 26Concrete classes
Page 9DestructorsPage 27Visibility and Access Control
Page 10A class that needs a destructorPage 28Friends
Page 11Resource acquisition is initialization - RAIIPage 29Friends - Example 1
Page 12Auto PointersPage 30Friends - Example 2
Page 13Object copyingPage 31Friends - class Point - notational convenience
Page 14Copying Point objects in parameter passingPage 32Friends - Class Point - operator friends
Page 15Example of copying objects: Default copyingPage 33Friends - Class Point - implicit conversion
Page 16Example of copying objects: Programmed copyingPage 34Discussion - Encapsulation, Visibility and Access
Page 17Preventing object copyingPage 35Operator overloading
Page 18Classes and ConversionPage 36Example: Operator overloading in class Point

LENO - LEcture NOtes with LAML technologyGenerated: Tuesday March 26, 2013, 13:03:29
Program Oriented Web Engineering - using LAML