Hello! I am quite experienced with C, but new to C++, so this is probably something stupid. Whenever I make my code, I receive linker errors-- undefined references to all functions within class array_t.
I have my interface stored in a header file called array.h, the implementation in array.cpp, and the main function is in main.cpp. array.h is included in both .cpp files, and whenever I copy all of the functions in array.cpp and place them above the main function in main.cpp so as to skip linking, the code compiles and runs perfectly.
This leads me to believe that there might be an error with my Makefile? I'll post it here. Any suggestions would be greatly appreciated.