I am trying to make a mathematics program for my own personal use and have searched the internet with no definitive answer to the common LNK2019 and LNK1120 errors. I would really appreciate if someone could show me what I have done wrong. I am using Microsoft Visual C++ 2010 Express Edition. The list of errors I get are:
1>------ Build started: Project: Mathematics Library, Configuration: Debug Win32 ------
1> Mathematics Functions.cpp
1>Mathematics Library.obj : error LNK2019: unresolved external symbol "int __cdecl greatestCommonDivisor<int>(class std::vector<int,class std::allocator<int> > &)" (??$greatestCommonDivisor@H@@YAHAAV?$vector@HV?$allocator@H@std@@@std@@@Z) referenced in function _main
1>C:\Users\Documents\Programming\Mathematics Library\Debug\Mathematics Library.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========