If a string s, only contains 10 bytes of zero, then s.length() == 10.
Reference: The C++ Standard Library: A Tutorial and Reference by Nicolai M. Josuttis. Addison-Wesley, 1999, p. 476.
Saturday, June 19, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment