/////////////////////////////////////////////////////////////// // exmp1g.cpp - reading input from command line and // // user at run time // // // // Jim Fawcett, ELE591\791, Su'99 // // // // build: cl /GX exmp1g.cpp // /////////////////////////////////////////////////////////////// #include // C++ terminal I/O library #include // C++ string library using namespace std; void main(int argc, char *argv[]) { cout << "\n Testing Command Line and User Input " << "\n ===================================== \n\n"; cout << " The command line arguments are:\n\n "; int i; for(i=0; i