about
12/06/2022
CppModels Repo
CppModels code

CppModels  Repository

Code examples for CppModels videos

Quick Status Code functions correctly no known defects Demonstration code yes - more will be added Documentation yes - will change as more example code is added Test cases no Static library not applicable Build requires C++17 option Planned design changes add more code examples

1.0 Contents

This repository holds code examples used in the C++ Models videos. Note:
All of the code here has been implemented using Visual Studio, so each item below has a visual studio project. Every one of them need the C++17 language option set. That should already be part of the project settings, but if something fails to compile, please check the language option.
This code was developed for the C++ Story and used in the CppModels videos.
  1. Chapter1-Structure Demonstration of code structure, discussed in the first video.
  2. Chapter6-PeopleHierarchy Demonstration of class relationships, discussed in the fourth video.
  3. Chapter7-PointClass Demonstration of templates, discussed in the sixth video.
  4. Chapter8-Display Helper code, used for demos 1-3 above, but not discussed in the videos.
  5. Chapter8-TypeTraits Helper code, used for demos 1-3 above, but not discussed in the videos.

2.0 Build

Built using Visual Studio Community addition - 2019, with C++17 option. Tested on Windows 10.

3.0 Status

This repository is complete for now. I plan to add more demos eventually.
  Next Prev Pages Sections About Keys