C++中类与结构体的区别

默认的访问权限不同

struct 默认的访问权限为公有

class默认的为私有

原文地址:https://www.cnblogs.com/Stephen-wife/p/13246712.html