Data Hiding,Data Encapsulation? practical application
Hi I am a newbie to C++ reading the C++ concepts...............and I am unable to comprehend the data hiding in the sense how it would be used practically or in real time.

question : As I know data hiding would implemented in C++ to hide the actual data being used
behind the scenes in a programm suppose by declaring some datas **private in a class.**
when a C++ program is made and compiled ....consider an example of of some game,
the executable file (.exe or nay other executale in unix) would be given to the user?

so here what I am confused about?
now where is my data hiding?? when the user is using the executable(.exe) because I my opinion .exe cannot be read or opened by the user to see the contents of the file anyway..
even if **I declare all my variables public...still the data is hidden because the user just has the .exe file, which can't be read or manipulated by the user?**

Please suggest guys?? give some feedback where I am thinking wrong
Data Hiding,Data Encapsulation? practical application
===

Hi I am a newbie to C++ reading the C++ concepts...............and I am unable to comprehend the data hiding in the sense how it would be used practically or in real time.

question : As I know data hiding would implemented in C++ to hide the actual data being used
behind the scenes in a programm suppose by declaring some datas **private in a class.**
when a C++ program is made and compiled ....consider an example of of some game,
the executable file (.exe or nay other executale in unix) would be given to the user?

so here what I am confused about?
now where is my data hiding?? when the user is using the executable(.exe) because I my opinion .exe cannot be read or opened by the user to see the contents of the file anyway..
even if **I declare all my variables public...still the data is hidden because the user just has the .exe file, which can't be read or manipulated by the user?**

Please suggest guys?? give some feedback where I am thinking wrong