#include "Plusonegame.cpp" int main(int argc, char **argv) { int i; class Plusonegame TheClass; string retval; string s; if (argc != 2) { fprintf(stderr, "usage: a.out num\n"); exit(1); } /* s = ; */ if (atoi(argv[1]) == 0) { s = "1++"; } if (atoi(argv[1]) == 1) { s = "549"; } if (atoi(argv[1]) == 2) { s = "++++++"; } if (atoi(argv[1]) == 3) { s = "+++++2+"; } if (atoi(argv[1]) == 4) { s = "++++4++++200++2++1+6++++++"; } if (atoi(argv[1]) == 5) { s = "++11199999"; } retval = TheClass.getorder(s); cout << retval << endl; exit(0); }