Working with multiple source file
Currently I'm following a tutorial on C++ All-in-One for Dummies @PG114 -> Dividing Between Source-Code Files. I'm trying to run a console program that are made up of 2 source file:
The problem that I'm facing is whenever when I try to compile it, it will always show me an error message: " undefined reference to 'BigDog(int)". source2.cpp seems doesn't working.
I can assure that the code are error free as I copy and paste from the book. So what's the problem with it. I'm using Codeblock.