converting blue print to c++

This probably would be good to put up for a feature request