摘要: Today, I have to create a dll project(called my.sln), the dllmain.cpp/.h/ is already in another project(called A.sln), I only have to update the inclu... 阅读全文
posted @ 2015-12-16 21:07 sunny,lee 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 在写代码的时候,经常会遇到这样的情况:A.hclass A:{ A{}; ~A{}; private: int m_value; B *m_pB;}在这种情况下,需要用到另一个class B,那么怎么把B包含进来呢?两种方法:1. #include "B.h"2. 预先申明 class... 阅读全文
posted @ 2015-12-16 21:04 sunny,lee 阅读(530) 评论(0) 推荐(0) 编辑