unresolved external symbol (LNK2019) |
Note that error code has "LNK". This is a linker error.
You have compiled "Driver.cpp" into an object file.
"Driver.cpp" includes "ArrayDictionary.h", "DictionaryInterface.h", and "Entry.h".
Compiler should instantiate necessary members for type
ArrayDictionary<int,int>
when it compiles "Driver.cpp", because it sees all the templates, doesn't it? If it does, then the object code,
the symbols, should be in Drivers.obj.
The error shows that this is not true.
Note: The "unresolved external symbol (LNK2019)" is not a complete and exact error message. Why do we have to forcefully extract every last useful piece of information from you?