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
First of all, how can you have func1(), func2(), func3() without having a return statement. Try to put your header body inside these (#include guards) :
#ifndef func_ex.h #define func_ex.h /* your code */ #endif