摘要: 1 typedef struct tag_guid 2 { 3 ULONGLONG utime; 4 ULONGLONG umac; 5 }tpguid; 6 7 class A 8 { 9 private:10 int m_teset1;11 };12 13 //其他文件中的前向声明,注意结构体和类的区别14 typedef struct tag_guid tpguid;15 class A;16 17 //使用,注意使用前向声明的成员必须是指针18 class B19 {20 private:21 tpguid* m_guid;22 A* ... 阅读全文
posted @ 2013-11-28 17:33 kira2will 阅读(1544) 评论(0) 推荐(0) 编辑