I found this site look for information on unions under C++.
www.cplusplus.com
And this is some sample code for a union from the site.
union union_name
{
member_type1 member_name1;
member_type2 member_name2;
member_type3 member_name3;
.
.
} object_names;
No comments:
Post a Comment