1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include <iostream> #include <libhello/hello.hxx> int main (int argc, char* argv[]) { using namespace std; if (argc < 2) { cerr << "error: missing name" << endl; return 1; } hello::say_hello (cout, argv[1]); }