there're 3 types below i can't work out,please give the samples ,thanks
1?struct in union:
union Test1
{
struct
{
long m_time;
};
};
2?union in struct:
struct Test2
{
SCHead m_Head;
union
{
long m_tSumary[1];
};
};
3?complex union in struct
struct Test2
{
SCHead m_Head;
union
{
long m_tSumary[1];
struct {
char m_cClass;
};
};
};