#include using namespace std; // This program is to show how to access the Command Line // ARGuments in a C/C++ program. // // The name of the program is found at argv[0] int main (int argc, char** argv) { int i; cout << "This program contains " << argc << " Command Line Arguments." << endl << endl; for (i = 0; i < argc; i++) { cout << "CLArg[" << i << "] :" << argv[i] << endl; } return 0; }