A simple C++ implementation of the observer design pattern. An educational resource, accompanying a YouTube video on the topic:
Observer Design Pattern: Theoretical Overview and Implementation in C++
To build on any Unix system make sure that you have the gcc and make installed. To install them:
Debian-based distros:
apt install build-essential
Arch-based distros:
pacman -S base-devel
Fedora-based distros:
dnf group install "C Development Tools and Libraries"
To bulid the application simply run:
make
After the build finished, the executable will be available in /dist/program
.