Private members in C++ cannot be accessed from outside the class directly. In this post I will tell an interesting fact, that in C++ however there are means with which you can access/modify the values of the private members of a class from outside of the class, when the structure of the class is known.
Categories
- Computer Science (39)
- C Language (4)
- Coding Discussions (16)
- Linux / Unix Shell (14)
- Others (3)
- Overview (3)
- Entertainment (4)
- GNU+Linux+FOSS (33)
- Humor (16)
- Writings (3)
- Computer Science (39)
Tags
StackOverflow
-
Top 10
- Floating point math operations in bash
- Bash Script : Print lines of a file in reverse order
- Geeky Code Wallpaper with GIMP
- Read multiple arguments in bash script
- Choose login manager GDM or KDM in Fedora
- Bash Script: Counting lines, words, characters
- Making a Multi Booting CD DVD USB
- What are ID3 Tags all about?
- Reviewing the GNUSim8085 (v1.3.7)
- Enable Select-to-Copy MiddleClick-to-Paste in Windows Firefox
-
Recent Comments
Polls
WordPress.com has a very nice stat plugin showing the overall post views data and also post by post, but it would be always great if there was more. A lot of people talk about introducing Google Analytics. A lot of people save the data offline by copying the summary tables into files to save the site data. I had an idea to process the data of my site a bit differently and find trends in the data. I thought except copy-pasting the site summary data, there should be a cleaner manner to store the data. First I made a brief Google search, then made a




