D
Dylan
How do I insert a NULL character into a std::string?
thanks
thanks
Dylan said:How do I insert a NULL character into a std::string?
thanks
Dylan said:How do I insert a NULL character into a std::string?
thanks
Dylan said:How do I insert a NULL character into a std::string?
Dylan said:How do I insert a NULL character into a std::string?
thanks
std::string example("Hello");
example += "\0";
Dylan said:How do I insert a NULL character into a std::string?
The macro 'NULL' does not refer to a character value,
but to a pointer value.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.