例子如下:
__interface IWorking
{
virtual void DoWork(void* lparam) = 0;
};
class CTest : public IWorking
{
   .....
}
那本书或者什么网页里有介绍__interface用法的?

解决方案 »

  1.   

    http://www.qqread.com/cpp/p372710_3.html
    有部分介绍!
      

  2.   

    f12一下
    你会有惊喜发现interface ----struct----- class
      

  3.   

    http://itus.cn/e/doprint/?classid=29&id=44472
      

  4.   

    __interface 就是 struct;
    好处是所有成员都是公有的;
    而且可以有别于class,作为抽象基类,一般所有函数成员都为纯虚函数,仅仅作为接口存在。
      

  5.   

    __开头的是厂商扩展,__interface就是struct
    还有__super是父类
      

  6.   

    http://www.qqread.com/cpp/p372710_3.html里的用法相差甚远!似乎用意在于开放接口,不提供源代码而提供LIB文件,