P
Pep
I have inherited a program that does this
ostrstream os;
os << "some text";
os.str()[strlen(os.str()) - 1] = '\0';
In fact is there any point doing it at all?
TIA,
Pep.
ostrstream os;
os << "some text";
os.str()[strlen(os.str()) - 1] = '\0';
In fact is there any point doing it at all?
TIA,
Pep.