0
Differences and similarities between class and structures in C++
2 odpowiedzi
+ 2
class is same as struct but two cases:
default member visibility is private for class and public for struct. Also default inheritance is private for class and public for struct. In last case the best practice is to explicitly specify these keywords. There are no more any differences between them.
0
similarities b/w class and struct in C++ at lest 150