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