add support for C++ and include examples