mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
add
This commit is contained in:
22
run.cpp
Normal file
22
run.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#include <iostream>
|
||||
#include <filesystem>
|
||||
using namespace std;
|
||||
// 清屏
|
||||
void CleanScreen(){
|
||||
/*if(filesystem::exists("/")){
|
||||
return;
|
||||
}*/
|
||||
system("clear");
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[]){
|
||||
// 判断参数是否齐全
|
||||
CleanScreen();
|
||||
//
|
||||
if(argc < 3) {
|
||||
cout << "参数不齐!" << endl;
|
||||
return 1;
|
||||
}
|
||||
cout << argc << endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user