简洁易懂讲清原理,讲不清你来打我~
最本质区别是默认控制访问,struct是public、class是private
简洁易懂讲清原理,讲不清你来打我~
最本质区别是默认控制访问,struct是public、class是private
class和struct区别struct的成员和基类默认都是public访问权限,而class是private 。当前置声明的时
作者:Linux猿简介:CSDN博客专家?,C/C++、面试、刷题、算法尽管咨询我,关注我,有问题私聊!
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M