阅读背景:

C ++使用VS2005在Windows XP中使用new运算符可以动态分配的最大字节数是多少?

来源:互联网 

I have c++ code that attempts to dynamically allocate a 2d array of bytes that measures approx 151MB in size. When I attempt to go back and index through the array, my program crashes in exactly the same place every time with an "Access violation reading location 0x0110f000" error, but the indicies appear to be in range. That leads me to believe the memory at those indicies wasn't allocated correctly.I have c++ code that attempts to dynamically al




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: