使用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
相關文章
相關標籤/搜索