The keyword typedef
The keyword typedef is in C++ allowed, but no longer necessary when it is used as a prefix in union, struct or enum definitions. This is illustrated in the following example:
struct somestruct
{
int a;
double d;
char string[80];
};
When a struct, union or other compound type is defined, the tag of this type can be used as [...]
Continue Reading..