在c++中class和struct用法是相同的,只有一个区别成员的默认属性,struct是public,class是private。
c++的 struct和class
猜你喜欢
转载自www.cnblogs.com/lingqingyu/p/12668627.html
今日推荐
周排行