Dear everybody ..
I've skimmed the web, searching for actual difference between classes and structures in C++ .. I've found no more than:
* struct defaults to public, while classe defaults their members to private.
* Conventionally, structs are used to group data, while classes are used for grouping data and methods to operate on.
* structs (if don't contain methods) can be compatible with C programs, which class keyword isn't known in C.
* Conventionally, classes are used for building libraries rather than structs (which can be used as well for libraries)
and finally, Use a struct if you just need a container of related data; use a class if you need mechanisms for operating on that related data internally.
Am I missing other difference ..??
Regards,
Me