Answer to Question #530 in C++ for Dolores
Is it better to use structures or classes? What is the difference?
Structure in C++ is almost like a full class. In practice, the structures are used instead of classes only if the following conditions are observed:
-The structure does not contain virtual functions;
-Structure is not derivative of anything, except perhaps another structure.
Learn more about our help with Assignments: C++