C ++ class distinction and the structure

Both are similar, the syntax is the same. In that two different, members of the class is the default private, and the default is the structure member publicof.

Guess you like

Origin www.cnblogs.com/yaos/p/12099228.html