Robert Larson

  • Home
  • About Me
  • Contact Me
  • Product Recommendations
  • Client Portal

Software Engineering Blog

#cpp

Bridge Pattern using C++ (Cell Phone Text App Example)

June 15, 2017 by Robert Larson
Bridge Pattern using c++ IPhone 8 Galaxy S8

What is the Bridge Pattern? The definition of the Bridge Pattern from both Design Patterns: Elements of Reusable Object-Oriented Software and Head First Design Patterns: A Brain-Friendly Guide is The Bridge Pattern allows you to vary the implementation and the abstraction by placing the two in separate class hierarchies. Bridge Pattern Pattern Class Diagram Explained … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...
Posted in: c++, Design Patterns Tagged: #cpp, #designpatterns #cplusplus

Proxy Pattern using C++ (Zoo Example)

May 26, 2017 by Robert Larson
Proxy Pattern using c++ Zoo example

What is the Proxy Pattern? The definition of the Proxy Pattern from both Design Patterns: Elements of Reusable Object-Oriented Software and Head First Design Patterns: A Brain-Friendly Guide is The Proxy Pattern provides a surrogate or placeholder for another object to control access to it. Proxy Pattern Class Diagram Explained The above class diagram represents … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...
Posted in: c++, Design Patterns Tagged: #cplusplus, #cpp, #designpatterns #cplusplus, c++, designpatterns

State Pattern using C++ (Music Player Example)

May 11, 2017 by Robert Larson

What is the State Pattern? The definition of the State Pattern from both Design Patterns: Elements of Reusable Object-Oriented Software and Head First Design Patterns: A Brain-Friendly Guide is The State Pattern allows an object to alter its behavior when its internal state changes. The object will appear to change its class. State Pattern Class … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...
Posted in: c++, Design Patterns Tagged: #cplusplus, #cpp, c++, designpatterns

Adapter Pattern using C++ (Robot Dog)

April 5, 2017 by Robert Larson

What is the Adapter Pattern? The definition of the Adapter Pattern from both Design Patterns: Elements of Reusable Object-Oriented Software and Head First Design Patterns: A Brain-Friendly Guide is The Adapter Pattern converts the interface of a class into another interface clients expect. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces. … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...
Posted in: c++, Design Patterns Tagged: #cplusplus, #cpp, c++, designpatterns

Command Pattern using C++ (Basketball Scoreboard)

March 31, 2017 by Robert Larson

What is the Command Pattern? The definition of the Command Pattern from both Design Patterns: Elements of Reusable Object-Oriented Software and Head First Design Patterns: A Brain-Friendly Guide is The Command Pattern encapsulates a request as an object, thereby letting you parameterize other objects with different requests, queue or log requests, and support undoable operations. … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...
Posted in: c++, Design Patterns Tagged: #cplusplus, #cpp, designpatterns

Recent Posts

  • March Madness 2019 – Weighted Random Bracket Generator
  • Gifts Ideas for Software Developers 2018-2019
  • March Madness 2018 – Second Chance Weighted Random Bracket Generator
  • March Madness 2018 – Weighted Random Bracket Generator
  • Builder Pattern using C++ (NFL Scheduler Example)

Archives

  • March 2019
  • November 2018
  • March 2018
  • August 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017

Follow me on Twitter

My Tweets

Copyright © 2025 Robert Larson.

Grace WordPress Theme by SiteChurch

%d