The MCoC implemented with Cplusplus