Only use length, no '\0' in strings.
Posted on 1998-08-11
In my own String class, I tried to use only string length, not add '\0' at the end.
1. What I should do for
without the '\0'?
2. Use cout.write(const singed char*, int n)? Unfortunately, instead 'int', I use 'unsigned short' for the length.