migrado a c++