I have some errors LNK2019 with my homework, but I can't solve it.
Error 7 error LNK2019: unresolved external symbol "void __cdecl input(int * &,int &,class std::basic_ifstream<char,struct std::char_traits<char> …
There's some evil inconsistency …
In function.h, you declare:
void input(int* &pi, int& n, ifstream &fin);
whereas, in function.cpp you have:
void input(int* &pi,int& n, fstream &fin)
ifstream vs. …