throw back c++ code