This question seems really stupid--to me at least. Please help.
How does one obtain a non-const pointer to a std::string's internal buffer, for example to pass to the sprintf rountine.
What I'm thinking of is along the lines of MFC's CString::GetBuffer function.
Any help is appreciated.
Will
How does one obtain a non-const pointer to a std::string's internal buffer, for example to pass to the sprintf rountine.
What I'm thinking of is along the lines of MFC's CString::GetBuffer function.
Any help is appreciated.
Will