Data output for cpp algorithm lib.