You need to compile both cpp files in the same compilation:
$ g++ HelloApp.cpp Hello.cpp -Wall -o HelloApp
Or, on an IDE (like VS or Code.Blocks), you would need to add all the .cpp files to the list of "source files" for the project (or solution).
mike_2000_17
Posting Virtuoso
2,136 posts since Jul 2010
Reputation Points: 1,634
Solved Threads: 457