just want to start the constructor but i get an error messageCode:#include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; const int CAPACITY = 5; template <class T> class A { public: A(); ~A(); private: T num; }; template<class T> A<T>::A() { cout << "Constructor started"<<endl; } int main(){ A<int> object; system("pause"); }
Error 2 error LNK1120: 1 unresolved externals