[Solved] Compile:error LNK2001 [duplicate]


#include <VECTOR>

I’m assuming you meant to include #include <vector>.

Unresolved external ? You did not implement ~Vec(void); only a declaration exists. Please implement the destructor or simply do not declare it.

Also for a better style I would recommend deleting the using namespace std; and use std::vector<T> instead.

Another style issue is your return 0; in the main function. Please use EXIT_SUCCESS instead.

To your edit:
Told you a implementation is needed. Also you include your headers very strange.
#include <IOSTREAM>
What’s this ? Please use the usual style form: #include <iostream>. The include may work, but it looks very strange.

0

solved Compile:error LNK2001 [duplicate]