+ 1
struct and class
what's the difference between structure and class in cpp?
1 Odpowiedź
+ 9
The members of a structure are public by default while those of a class are private by default.
More information: https://stackoverflow.com/questions/92859/what-are-the-differences-between-struct-and-class-in-c