A data structure (declared with the struct keyWord) should be used to define a plain-old data type (a POD). A POD is a class, but one that has trivial construction and no invariants or methods (there is no encapsulation). PODs are primarily used for compatibility between C++ and C code, since C has no understanding of objects.
Copyright © 2026 eLLeNow.com All Rights Reserved.