#include #include using namespace std; // ---------------------------------------------- // main function // ---------------------------------------------- int main(int argc, char *argv[]) { // check that program as at least three arguments if (argc <= 3) { cerr << "the program needs at least 3 arguments" << endl; cerr << argv[0] << " method alpha message" << endl; exit(EXIT_FAILURE); } cout << "program's name = " << argv[0] << endl; for (int i=1; i