You decided to use an API that has no notion of a C++ string, so it is up to you to do what is necessary.
In that case, you should use std::getline, or some other API that provides such a...
Type: Posts; User: laserlight
You decided to use an API that has no notion of a C++ string, so it is up to you to do what is necessary.
In that case, you should use std::getline, or some other API that provides such a...
You can pass &strBuf[0] as the argument, but of course, you must have set the std::string object to have a large enough size, possibly including a null terminator if applicable.
The inventor of...