totallyfreeenergy wrote:
> What is the easiest way to continuously catenate strings without having to 
> allocate any memory/size of destination string. I am using VC++ 2008 express. 
> Many thanks in-advance for any info on this.
>   

Reserve enough capacity that you do not need to reallocate later on. 
Example:

std::string buffer;
buffer.reserve(10000);
buffer.append("string1");
buffer.append("string2");
// etc

-- 
John Gaughan
http://www.jtgprogramming.org/

Reply via email to