D
Dylan
Is there a string stream I can write into and read from?
I've tried std::stringstream but it won't let me read from it.
ie I can do this:
int iData = 123
std::stringstream ss;
ss << 123;
but not this afterwards:
int iDataReadFromStream;
iDataReadFromStream << ss;
Is there a data structure that allows me to do both?
thanks
I've tried std::stringstream but it won't let me read from it.
ie I can do this:
int iData = 123
std::stringstream ss;
ss << 123;
but not this afterwards:
int iDataReadFromStream;
iDataReadFromStream << ss;
Is there a data structure that allows me to do both?
thanks