Quote Originally Posted by mickey View Post
What does that mean?
If you have 512MB of RAM, you shouldn't try to read more than that.

Quote Originally Posted by mickey View Post
So is "memblock = new char [size];" is the best solution?
std::vector and std::string will be OK too, but only if you won't change their size too often.