I have problem with following C struct:
typedef struct AnchorPixel{
int32 X;
int32 Y;
uint8 CH[5];
} AnchorPixel;
Actually, I have problem with CH array inside it. I just cannot manipulate CH array. For example, following program
AnchorPixel a;
a.CH[2] = 5;
cout << a.CH[2];
gives output:
♣
If I change CH type from uint8 to int32, problem disappears. This works:
typedef struct AnchorPixel{
int32 X;
int32 Y;
int32 CH[5];
} AnchorPixel;
Any ideas?