std::cout add for emulator and text