Is there a conversion for the above?
Convert a std::string
to an output stream? Usually it's: convert a string to an input stream that reads characters from the given string:
std::string myString = //...
std::istringstream iss(myString);
See also: http://www.cplusplus.com/reference/iostream/istringstream/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With