As I try to compile the project, I get this error message:
multiple definition of 'function_call()'
If I copy the function_call function and paste it over my main function, and delete the functions.cpp file, it works fine. Can someone tell me whats wrong?
You're including your functions.cpp file here. The compiler is also picking up and compiling the functions.cpp file, resulting in two copies of function_call() being compiled. Line 2 should include functions.h, not functions.cpp.