阅读背景:

为什么248x248是我可以声明的最大二维数组大小?

来源:互联网 

I have a program problem for which I would like to declare a 256x256 array in C. Unfortunately, I each time I try to even declare an array of that size (integers) and I run my program, it terminates unexpectedly. Any suggestions? I haven't tried memory allocation since I cannot seem to understand how it works with multi-dimensional arrays (feel free to guide me through it though I am new to C). Another interesting thing to note is that I can declare a 248x248 array in C without any problems, but no larger.I have a program problem for which I would like




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

分享到: