I hate when I have to acces a class data member like myclass.get_x();
I would like to simply write myclass.x;
But I also want to stay with private x,
I just want to read like myclass.x, but dont want overwrite it.
It is somehow possible?
merse 0 Junior Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
merse 0 Junior Poster
alaa sam -2 Junior Poster
Taywin 312 Posting Virtuoso
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.