SDK_Tools/main.cpp
2025-05-09 11:11:34 +08:00

20 lines
431 B
C++

#include <iostream>
using namespace std;
int main() {
while (true) {
string command;
cout << ">>>";
getline(cin, command);
if (command == "list"){
cout << "list" <<endl;
}
else if (command == "exit") {
return 0;
}
else {
printf("未知的指令\"%s\",请使用\"help\"获取更多帮助\n",command.c_str());
}
}
}