The Toothpaste & Bubblegum official blog. Articles about programming and other stuff we ran into. Feel free to comment (and correct us).

C++ virtual destructor

12 Apr 2015 - by Ruud Arentsen

When dealing with inheritance in C++, make sure you add virtual destructors. This post describes the issue, which could prevent memory leaks.

Read more »

Arduino int size

28 Mar 2015 - by Ruud Arentsen

When using integers in Arduino projects, you have got to be aware of the size, which is 16 bit. This post will explain the issue with some example code.

Read more »