C++中成员变量默认private

struct 默认是 public
class 默认是 private
原文地址:https://www.cnblogs.com/kobe8/p/3796934.html