C++ 🏷️


or

A C++ program that calls a Lua script (2025-04-21)
Alright, so after preparing Lua, here are a few small first step on how to make use of this language within a C++ context
C++ Snippets (2022-03-20)
A collection of code snippets, general notes, small pearls of wisdom and bits of knowledge, that may come handy at times.
C++ Snippets for the MS Windows platform (2022-03-30)
A collection of code snippets, small pearls of wisdom and bits of knowledge, that may come handy at times.
C++: Namespace (2022-02-05)
I moved the (growing) section on namespaces from the C++ Snippets page to this separate page, where I had already written some notes about using anonymous and inline namespaces in the same translation unit/file (see below). The page therefore now also got a more generic and encompassing title.
C++: On #include guards (2022-02-14)
In C and C++ there exists the concept of include guards (header guards) to prevent that a header file (or rather the content of such file) is included more than once, because that could cause errors and strange behavior due to redeclarations or name collisions1.
Calling a Lua/C++ function from C++/Lua code (2025-05-03)
Another post in my series on how to use C++ with Lua; this time it’s about calling a function of one language from code of the other language.
CLIOptions: Code to handle command line interface options (2018-02-11)
A tiny header-only C++ library to handle options (parameters, arguments, …) which are given to programs on the command line.
Hotkey 1.0 (2020-05-28)
A small utility to scratch my own itch: Having global shortcut keys for often needed actions.
How to use CMake to setup Visual Studio for using the Clang compiler (2021-02-07)
This is a brief post on how to use CMake to setup a Visual Studio 2019 solution on Windows that will use the LLVM Clang compiler instead of the orginal Visual C++ one.
Journal #11 (2022-01-06)
Well, looks like I somehow caught a severe case of “summer blues” last year, that’s why I didn’t code much in my spare time in the last couple of months. But now I’m slowly getting back in the saddle.
Journal #9 (2021-03-05)
The second half of 2020 was regrettably pretty unproductive for me in terms of (C++) code – that wasn’t really planned, but life is strange sometimes (… he says, sitting at home, during the COVID-19 lockdown).