Here are some definitions of class, struct and union.
As you can see, the name of "CFoo", "SFoo", "UFoo" are started by the letter "C", "S" and "U" respectively.
I guess they are short for "Class", "Struct" and "Union".
What is the purpose of writing a name like that? Is it just easy to remember?
Code:
class CFoo
{
// CFoo is a CLASS defined by using 'class' keyword
};
Code:
struct SFoo
{
// SFoo is a CLASS defined by using 'struct' keyword
};
Code:
union UFoo
{
// UFoo is a CLASS defined by using 'union' keyword
};
I guess they are short for "Class", "Struct" and "Union".
What is the purpose of writing a name like that? Is it just easy to remember?