This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

在写程序时,结构体最大长度可为多少?

例如:

struct DATA

{

     unsigned char caData[?];

};

数组最大长度可以多少?

我定义了一个1K的数组,编译可以,调试时不能进入主函数,直接处于只能停止调试的状态。暂停、单步等按钮都是灰色,只有停止按钮有效。

谢谢!