Ruby -> C++