While running my program I get this error:
terminate called after throwing an instance of \'std::length_error\' what(): basic_string::_S_create Abort trap
This is an error in debug mode with VS2005. When I change it to release mode, everything works.
Well, the vc debug runtime causes this, that's all.