Revert "add C++ code"

This reverts commit 9dc5a699bdb3ef19c0fd0ded03ee6a0fa23b840e.