Going to C++ sollution