As you already know, classes and structures are identical, except that the default access-specifier for class is private, whereas the default access-specifier for struct is public. However, struct is mostly used for C-style POD types, and class is used for inheritance and such.