I have to format std::string with sprintf and send it into file stream. How can I do this? 42 s 42 Tags: cc++-standard-libraryformattingstdstringstring