Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
Up until now, I've been using the old C way of sharing objects by passing pointers instead of references. But I've run into some trouble. Here's a simplified case of what I'm trying to do: [code=c++] #include <iostream> class Test{ protected: int a; public: Test() : a(0) {} void change(int … |