You've already forked tiny-project
Add pause.cpp
This commit is contained in:
@@ -6,4 +6,4 @@
|
||||
请分别根据注释运行
|
||||
## 协议
|
||||
详见文件内部注释
|
||||
如无注释, 根据 GPL 3.0 协议开源
|
||||
如无注释, 根据 GPL 3.0 协议开源
|
12
onefile/pause.cpp
Normal file
12
onefile/pause.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
// pause.cpp
|
||||
// LICENSE: Nothing(do what ever you want!)
|
||||
#include <bits/stdc++.h>
|
||||
using namespace std;
|
||||
|
||||
int main(){
|
||||
cout << "Press any key to continue...";
|
||||
cin.clear();
|
||||
cin.sync();
|
||||
cin.get();
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user