C++ output format added