Implementation of fizzbang in C++