i am getting the hang of the syntax for structures and classes but i am confused about when to use each.
i have read that
a struct is used when only data is involved - seems a little weak.
a class is used when both data and functions are required.
i would ask for a suggestion on a good book but i have read differing acounts in different books with no concrete rule.
maybe some of you folks that do this for real could tell me how they are used in the industry.