create shogun c++ style