C++类和结构体的区别

C++类和结构体的区别?

结构体默认数据访问控制是public;

类默认数据访问控制是private;

猜你喜欢

转载自www.cnblogs.com/dingou/p/10549343.html