Pavel Ivanov <paiva...@gmail.com> wrote: > Stringstream never puts 0 byte at the end of the string.
Does too. You might be thinking about ostrstream (whose str() method returns char* pointing to a non-NUL-terminated buffer), but the OP uses ostringstream, whose str() method returns an std::string (whose c_str(), in turn, always returns a pointer to NUL-terminated buffer). Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users