Re: strcpy versus strncpy

From: Ben Laurie (benat_private)
Date: Tue Mar 03 1998 - 10:50:52 PST

  • Next message: Wietse Venema: "Re: strcpy versus strncpy"

    Edwin Li-Kai Liu wrote:
    > If you use C++, you can write a string class (I think someone already did that?
    > M$?) that uses dynamic buffer allocation and upon object destruction the buffer
    > is released. This will prevent memory hole, but performance suffers!
    
    The string class is part of the Standard C++ Library (or is it STL?
    Whatever, it is standard).
    
    Cheers,
    
    Ben.
    
    --
    Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
    Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
    and Technical Director|Email: benat_private |
    A.L. Digital Ltd,     |Apache-SSL author    http://www.apache-ssl.org/
    London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 13:43:48 PDT