Revert "c++ code"

This reverts commit 56387ff15204657c9fa2e6b7132f56050d4ebe95.