title: Converting a C-style string to a C++ std::string
body: <p>What is the best way to convert a C-style string to a C++ <code>std::string</code>? In the past I've done it using <code>stringstream</code>s. Is there a better way?</p>