Pebble, but with C++