Added C++ sample (incomplete)