cURL / Mailing Lists / curl-library / Single Mail

curl-library

Query

From: Kulbhushan Sharma <shrisatgeetason_at_gmail.com>
Date: Thu, 16 Mar 2006 16:34:55 +0530

Hi,

I am using *string* type of *std namespace*.

we have used the following format:

  #include <string>
  std::string buffer

Now we are getting problems while *dealocating or reallocation* of the above
variable (*buffer).*

Whenever we reallocates* buffer* it is appended to the existing contents of
*buffer*.

How can I solve my Problem of *dealocating or reallocation* of this
existing *buffer* at runtime?

Please Reply Soon.

Kulbhushan
Received on 2006-03-16