C++中Class和Structure的区别?
C++ primer第四版中是这样描述的:The only difference between a class defined with the class keyword or the struct keyword is the default access level: By default, members in a struct are public; those in a class are private.
既然他们之间的差别这么微小,是不是以后只要用Class或者Structure之一就行了呢?
为啥要保留Structure在C++中哦?