Why use private memebers in a class?

后端 未结 0 675
滥情空心
滥情空心 2020-12-25 14:50

I\'m currently learning C++, recently I\'ve started messing with classes and structs. Basically the main difference is classes are inherently private and structs are public.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题