I want new a array,such as
double *dou=new double[600*600*900]
but in the case of "WIN32",vs compliler likely could't support new a array exceed 2G
if I want to new the array above, how to do?
zhuimeng 0 Newbie Poster
Recommended Answers
Jump to PostThe compiler is not the problem -- the problem is that no 32-bit operating system will support such a huge array. Even a 64-bit os and 64-bit compiler will have problems with it.
You will just have to redesign your program so that it doesn't need tnat array. For …
Jump to Post>>OR my question is meaningless.
It doesn't matter whether you disagree with us or not. It can't be done the way you want to do it. So further discussion on that is meaningless.
Jump to PostMemory in a computer is always organized in a pyramidal way. That is, the processor can only operate on a few variables at a time (on the register, very small memory capacity at no clock-cycle away from the processor). A program can only run a small part at a time …
All 11 Replies
tesuji 135 Master Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
zhuimeng 0 Newbie Poster
zhuimeng 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
zhuimeng 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
zhuimeng 0 Newbie Poster
mitrmkar 1,056 Posting Virtuoso
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
Ancient Dragon commented: Nice :) +33
zhuimeng 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.