could I use a pointer to manipulate a value private value of a class I dunno if it's possible just doing a bit of experimenting lately and got the idea or would I still have to use a public accessor?
short example of what I mean in words:
I have a class;
I have a private value in a class of 100;
I have a pointer to that private value;
oh another question posp up here
if it is possible would the pointer have to be made inside the class?, or could I make it anywhere?
just curios thats all probably better ways to do this but I I always try my own way first