c++ undefinede reference to 构造函数/析构函数

g++编译器问题

把头文件"a.h"和头文件实现文件"a.cpp"都include就解决了。

猜你喜欢

转载自www.cnblogs.com/txltxl22/p/10553328.html