diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-11 14:18:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-11 14:18:55 +0200 |
commit | c16222907ea84936f43f5fdd8500a6a19be993ee (patch) | |
tree | 63cc98ecc60eb349f1eab279fdeb12b567adf5f7 /examples/hello/driver.cxx | |
parent | 5d6f8aad8aaa3cdc3c52848c8adbc271dbe8e5e2 (diff) |
Add another example, README files, and VC++ projects/solutions
Diffstat (limited to 'examples/hello/driver.cxx')
-rw-r--r-- | examples/hello/driver.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/hello/driver.cxx b/examples/hello/driver.cxx index 6641d4b..b08e6be 100644 --- a/examples/hello/driver.cxx +++ b/examples/hello/driver.cxx @@ -14,8 +14,8 @@ usage () { cerr << "usage: driver <options> <names>" << endl << " [--help]" << endl - << " [--greeting|-g <string>]" << endl - << " [--exclamations|-e <integer>]" << endl; + << " [--greeting <string>]" << endl + << " [--exclamations <integer>]" << endl; } int @@ -39,6 +39,8 @@ main (int argc, char* argv[]) return 1; } + // Print the greetings. + // for (int i = end; i < argc; i++) { cout << o.greeting () << ", " << argv[i]; |