Create cpp generator