c++交叉#include问题
摘要:
这个问题会引起莫名其妙的编译错误,碰到类里有其他类的指针的话,不要#include,提前声明下即可class_a.h#ifndef CLASS_A_H #define CLASS_A_H class B; class A { public: void Print() ... 阅读全文
posted @ 2014-09-22 20:57 防空洞123 阅读(550) 评论(0) 推荐(0) 编辑
posted @ 2014-09-22 20:57 防空洞123 阅读(550) 评论(0) 推荐(0) 编辑
posted @ 2014-09-22 09:55 防空洞123 阅读(271) 评论(0) 推荐(0) 编辑