1 #ifndef SAMPLE_CLASSES_H
2 #define SAMPLE_CLASSES_H
3
4
5
6 class A{
7 static int i;
8 int count;
9 public:
10
11 A();
12 ~A();
13 void activity();
14 };
15
16
17 class B{
18 static int i;
19 int count;
20 public:
21 B();
22 ~B();
23 void dothing();
24 };
25
26 class C{
27 static int i;
28 int count;
29 A* a_;
30 public:
31
32 C(A* a);
33 ~C();
34 void action();
35 };
36
37 #endif