I cannot figure out why this is not working. I will put up all three of my files and possibly someone can tell me why it is throwing this error. I am using g++ to compile the
You need to compile and link all your source files together:
g++ main.c function_file.c