10 lines
263 B
C++
10 lines
263 B
C++
|
#include"MenuUtils.h"
|
|||
|
|
|||
|
void checkOptInput(int& opt, int low, int high) {
|
|||
|
printf(">>><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>(%d-%d)<29><>", low, high);
|
|||
|
while (!(cin >> opt) || (opt < low) || (opt > high)) {
|
|||
|
cout << "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>룺";
|
|||
|
cin.clear();
|
|||
|
while (cin.get() != '\n');
|
|||
|
}
|
|||
|
}
|