C++ skeleton