information revealing . . . ?
hey all, let's say i'm coding, coding, coding, making good progress and all, and then realize a crucial data is, and rightly so, private in another class. should i make it public, use a get function (won't that double overhead), or move around two hours worth of work. i've never had a set back this big before, what should i do?
Your subject is very broad
MSDN has documentation on the "friend" keyword. This is what I suggest that you use. Check it out, tell me what you think and if it applies to you. "The friend keyword allows a function or class to gain access to the private and protected members of a class..."
http://msdn.microsoft.com/library/de...ref_friend.asp
Sorry if it isn't much help.