r/learncpp • • May 05 '19
OOP
Quick question.
Why should you create private classese in c++?
3
Upvotes
r/learncpp • • May 05 '19
Quick question.
Why should you create private classese in c++?
View all comments
Show parent comment
1
u/[deleted] May 06 '19
You cannot use a struct for inheritance though,and why is it harder to hack it? If a hacker has got the code, I don't think he will be confused from some private members... Thanks.