Oh yes Dorian,
now it works!
On Thu, Mar 18, 2010 at 11:57 AM, Dorian Krause wrote:
> Hi,
>
> Since you are using std::string in your structure you should allocate the
> memory with "new" instead of "malloc". Otherwise the constructor of
> std::string is not called and things like the length() o
Hi,
Since you are using std::string in your structure you should allocate
the memory with "new" instead of "malloc". Otherwise the constructor of
std::string is not called and things like the length() of a string might
not give the desired result leading boost to iterate over too many chars.
>From the stack trace, it looks like the error is somewhere inside Boost. I'm
>unfamiliar with the details of Boost -- you might want to ask them about it.
On Mar 17, 2010, at 6:11 AM, alev mutlu wrote:
> Hi the following codes compiles fine but gives some run time errors.
> Ant suggestions to
Hi the following codes compiles fine but gives some run time errors.
Ant suggestions to fix the problem.
cheers
Code
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include