Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Aclass {
- public:
- int x1;
- }
- class IAclass { //IA is interface of A
- }
- class Bclass {
- private
- IAclass * a[5];
- void Bfunction(){ a[1]->x1;}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement