????Sink???????????C++????????С???????????????????????????????????????????????

 

1 // cbBysink.cpp : Defines the entry point for the console application.
2 //
3
4 #include "stdafx.h"
5 #include "cbBysink.h"
6
7 /************************************************************************/
8 /*                ?????????                                            */
9 /************************************************************************/
10
11 class CMyWork : public baseCallBack
12 {
13 public:
14     CMyWork()
15     {
16         // ?????
17         CWork::registercallback(this);
18     }
19     // ?????????
20     void CallbackFunction(int a?? int b)
21     {
22         cout << "a = " << a << "??b = " << b << " " << endl;
23         return;
24     }
25     // ???????
26     void makefunction(int a?? int b)
27     {
28         CWork::makecallback(a?? b);
29         return;
30     }
31 protected:
32 private:
33 };
34
35 int main(int argc?? char* argv[])
36 {
37     CMyWork c_mywork;
38
39     // ???????????????ж?????
40     c_mywork.makefunction(5?? 6);
41
42     return 0;
43 }