I\'m doing an exercise (from the third chapter of Thinking in C++) but I have a problem linking two .cpp files. This is the exercise:
Create a h
It sounds like the file is not finding the functions appropriately. Is the header file included in both files? You can include it like:
#include "myheader.h"
Did you make sure to compile both files together? Such as:
gcc -o myprogram file1.cpp file2.cpp