Skip to content
cppcoding.dev

About

This is my personal blog. I use it to write down everything I learn and run into, at work and in my own side projects, so I don't have to learn it twice.

I've written C and C++ for a long time: command-line tools, servers, libraries other people link against, and a fair share of code that predates smart pointers. Somewhere along the way I noticed that the notes I kept for myself were the most useful thing I owned, and that most of them would have saved me an evening in the debugger.

So here they are, cleaned up. Each post is something worth knowing: a pointer bug that finally made sense, a CMake setup I keep coming back to, a corner of the standard that explains in one line what took me a week to really get. Every post says which standard and which compiler it targets, because nothing is more annoying than a tutorial that only compiled on somebody else's machine.

The posts run from your first program to professional depth: what a pointer really is, how a vector grows, why a destructor runs when it does, and on to templates, concurrency, performance and shipping a library. If you're new to C or C++, welcome, I'll show you the path I took and where I tripped. If you've been around a while, I hope you still find a trick or two.

Some links might earn me a small commission. That never decides what I write about or recommend. If I wouldn't use it myself, it's not here.

Found something broken, or want me to write about something? Drop me a line. I read everything.