1
已解决
#include <Windows.h>
#include <stdio.h>
#include<iostream>
using namespace std;
int main()
{
system("color 04");
cout<<"\n\n\n\n\n\n\n\n\t\t\t\t\t长按A键!!!!";
Sleep(1500);
while(1)
{
if(short a = ::GetAsyncKeyState(VK_ESCAPE))
{
return 0;
}
if(short a=::GetAsyncKeyState('A' ))
{
cout<<"满分!";
}
else
{
system ("cls");
}
Sleep(3);
}
}
王子逸在2020-05-24 12:18:59追加了内容
长按A键,Esc退出
王子逸在2020-05-24 14:00:23追加了内容
IDE里是弄不出来的
0
已采纳
0
0
0
0
0
0
0
0
0