#include <iostream> using namespace std; void printMessage(void); // this is the prototype! int main () { printMessage(); return 0; } void printMessage (void) { cout << "Hello world!"; }