This structure has the useful property that if you allocate space for (sizeof(struct header) + 10) bytes, you can treat data as being an array of 10 bytes.
这种结构体的有用之处在于,如果您分配 (sizeof(structheader) +10)字节的空间,您可以像处理一个 10 字节的数组一样来处理数据。
This structure has the useful property that if you allocate space for (sizeof(struct header) + 10) bytes, you can treat data as being an array of 10 bytes.
这种结构体的有用之处在于,如果您分配 (sizeof(structheader) +10)字节的空间,您可以像处理一个 10 字节的数组一样来处理数据。
应用推荐