I am using MS Visual C++ Express 2012 and have 2 .cpp files (the main.cpp being one) and 1 header file:
1) main.cpp
2) auxiliary.cpp
3) MyForm.h
1) The main function makes reference to the header file by #including it. It then calls the auxiliary function within main.
2) The auxiliary function makes reference to the header file by #including it. It then defines the function.
3) Myform declares the function.
All files saved within one folder and compiled. I return 3 error's upon compiling: LNK2028, LNK 2019 and LNK1120. The linking fails.
What is the problem?