#include<bits/stdc++.h>
#include<time.h>
#include"windows.h"
#include"conio.h"
using namespace std;
int y;
char v;
void oo(int b)
{
time_t o, u;
o=time(NULL);
for(;;){
int u=time(NULL);
if(u-o>=b) break;
}
}
int main(){
cout<<"金山打字板:"<<endl<<"按0清空"<<endl<<"ctrl+j提行"<<endl<<"更多功能请按ctrl";
oo(6);
system("cls");
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_INTENSITY | FOREGROUND_RED|FOREGROUND_BLUE);
cout<<"";
for(;;){
v=getch();
cout<<v;
if(v-48==0) system("cls");
}
return 0;
}
08-30
703
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-31
812
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)