S
Saurabh Gupta
ostrstream m_msgStream;
m_msgStream.seekp(0);
m_msgStream << "Hello";
m_msgStream << ends;
char *str = m_msgStream .str();
We are getting str NULL. If we remove the skeep line then it working
fine. Even the same code is working fine with VS 6. Anyidea how to use
seekp in VS 2008?
m_msgStream.seekp(0);
m_msgStream << "Hello";
m_msgStream << ends;
char *str = m_msgStream .str();
We are getting str NULL. If we remove the skeep line then it working
fine. Even the same code is working fine with VS 6. Anyidea how to use
seekp in VS 2008?