阅读背景:

如何在C中的struct中存储可变长度数组

来源:互联网 

I want to store a variable length array in a struct, and I use a pointer for this purpose. However, if I retrieve the stored array, I get the wrong values back. In the example below, I get the output "1 0", while you would expect the output "1 2".I want to store a variable length array in a st




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

分享到: