使用Dev C++编译C++工程时出现undefined reference 错误

个人工程包含三个文件,Vector模板类的声明文件Vector.h和定义文件Vector.cpp以及主函数main.cpp,具体代码以下:ios // Vector.h #ifndef VECTOR_H #define VECTOR_H #include <iostream> typedef int Rank; #define DEFAULT_CAPACITY 3 using std::cou
相关文章
相关标签/搜索