【发布时间】:2014-01-17 07:00:38
【问题描述】:
我想寻求帮助。 当我得到这个时:
struct MyStruct
{
unsigned char myBytes[5];
MyStruct()
{
myBytes[0] = 0x89;
myBytes[1] = 0x50;
myBytes[2] = 0x4E;
myBytes[3] = 0x47;
myBytes[4] = 0x0D;
}
};
如何让它变得简单? 喜欢 myBytes = {0x89, 0x50, 0x4E, 0x47, 0x0D};
【问题讨论】: