I am trying to use a function defined in one .cpp file in another. If I'm reading this right:
1. you define the function prototype in a header file,
2. #include that header file in both .cpp files; and
3. define the function in message.cpp
I think cout / <iostream> might be what is messing me up here.
Your prototype in your header file is missing a semi-colon, don't know if that's your mistake or just a typo. Otherwise, that's how it works. You should also put include guards in the header file to guard against multiple inclusion.
You don't need to specify 'void' for the function parameter if there is no parameters, just leave it blank.
Don't forget to 'return 0' from main.