How are you compiling your program? What compiler/IDE? You should be adding the .cpp file to your project, not including the file.

Jim