No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Master student
- Interests
- Hiking, biking & dancing. Hanging out with friends.
Hi, I have done some reading and searching without finding how subclasses relate to friend classes. Here is a little scenario: [code] class Dog; class Cat{ public: int getAge(){return age}; protected: friend class Dog; int age; }; class Dog{ public: Boolean foo(){return True}; protected: friend class Cat; }; class Puppy … |
|
Wow, my first computer related forum ever! In the computer lab the guys have given me the nickname MsUpstream, as I work on implementing a streaming algorithm in C++ as part of the work for my master thesis. In other words, I am a Computer Science master student in the … |
|
Hi, I am currently using a C++ library (live555) to which I have added my own subclass, and this work is my first experience with C++. I need to get access to a pointer that is a private pointer in the parent class. Because I am using an exisiting library … |