You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cout << "\nPASS 1 gives the tokenized input :\n"; parse1(text);
61
65
printPass(symList, 5);
62
66
cout << "\n\nPASS 2 gives the RPN form of the expression"; parse2();
63
67
printPass(symListOut, 5);
64
-
65
68
calcandprint(symListOut);
66
-
67
-
cout << "\n\nthe end"<< endl;
69
+
};
68
70
69
71
return0;
70
72
71
73
//end TEST
72
74
73
-
// the following is not used yet
74
-
int choice = 0;
75
-
cout << "choose:\n1. create the 4 world part files\n2. create srtmfiles\n3. create both\n4. reduce files to Res400\n5. create both and reduce files to Res400\n";
76
-
while ((choice==0) | (choice>3)) {
77
-
cin >> choice;
78
-
switch (choice) {
79
-
case1:
80
-
break;
81
-
case2:
82
-
break;
83
-
case3:
84
-
break;
85
-
default:
86
-
cout << "wrong choice " << choice << endl;
87
-
break;
88
-
};
89
-
cin.clear();
90
-
cin.ignore();
91
-
};
92
-
cout << "optionChosen final = " << choice << endl;
0 commit comments