/* name: try.cxx author: Leo Liberti source: GCC 4.1.2 purpose: to test a bit of code from the course history: 100112 v.0.0 work started */ #include int main(int argc, char** argv) { using namespace std; cout << "argc = " << argc << endl; for(int i = 0; i < argc; i++) { cout << argv[i] << endl; } for(int i = 0; i < argc; i++) { while(*(*argv) != '\0') { cout << *(*argv); (*argv)++; } cout << endl; argv++; } return 0; }