Web Resources:
CppReference.com, CPlusPlus.com, C++ TechLinksGoing Native 2013 - many experts
Herb Sutter's Blog, Herb Sutter on C++11, Herb Sutter keynote - Going Native 2012
Scott Meyer's Blog, S.M. on thread suspension, S.M.: C++11 Sampler
Stroustrup's Home Page, Code Project, Boost Library
Content:
This lecture is devoted to hierarchical relationships in the C++ language, especially inheritance and composition.-
Syllabus
Describes topics to be covered, reading material for you to digest before coming to class, and due dates for the assigned projects. - new style casts demo, const pointers demo
-
Readings for this Lecture:
Class Text, CPPP:- review Chapter 7 - Classes
- read carefully Chapter 15 - Object Oriented Programming
-
Projects:
Project #1, Project1HelpS17
NoSql Database Project #2
Dependency Analysis Project2HelpS17 Policy for due date extensions - only for certified illness and work or interview trips out of town: one week extension, with proof. Only one extension per project. -
Class Hierarchy
class relationships, doc
class relationships - layout view, vsd
ClassRelationships code folder
Demonstrates code layout in memory. Compound Object creation
You need to understand how constructor initialization is required to control the objects you create. Hierarchy Presentation
Hierarchy is concerned with the relationships between classes - aggregation, composition, inheritance, and using. Three Tier Hierarchy - a common idiom Demonstrate Composition
This project contains a number of demonstrations of basic composition relationships. Demonstrate Inheritance
Contains demonstration of things to be careful with when using inheritance. - Software Design Blog Entries:
-
Software design presentations:
- There is no receipe for good design - it's a creative process that usually strives to balance a number of competing factors.
- Our goals are to build programs and software systems that are elegant and simple, make their intents clear, and make them fast and reliable.
- The presentations below provide guidance to help move us toward those goals.
Design Goals and Attributes - used to measure designs. Design Strategies
Discusses styles of design and binding. Design Guidelines
Small principles and useful techniques Design Issues
Practical issues and problems of design and implementation -
These are the most important items from today's lecture:
Hierarchy Presentation
Hierarchy is concerned with the relationships between classes - aggregation, composition, inheritance, and using.