+ 1

Is there something you can do with struct but not with classes ? (in c++)

18th Aug 2022, 6:00 AM
Unwanted Blue
Unwanted Blue - avatar
2 Antworten
+ 1
Arsenic So, It's just about less typing then? Quite useful, not gonna lie. but anything else?
18th Aug 2022, 2:04 PM
Unwanted Blue
Unwanted Blue - avatar
0
Yes Make the members public without explicitly specifying it using access specifier.
18th Aug 2022, 7:57 AM
Arsenic
Arsenic - avatar