A
Axel
Hiho,
how can I reserve enough memory for a long string? I tried with
max_size() but 4GB is to much for my system, an exception ist the
result. And I'm getting an exception too when using the normal string
and putting to much in it.
If I want to initialise a std::string using 20MB of memory, how can I do
this?
Thanks for any help..C++ is not my world at this moment, but I'm trying.
Axel
how can I reserve enough memory for a long string? I tried with
max_size() but 4GB is to much for my system, an exception ist the
result. And I'm getting an exception too when using the normal string
and putting to much in it.
If I want to initialise a std::string using 20MB of memory, how can I do
this?
Thanks for any help..C++ is not my world at this moment, but I'm trying.
Axel