主题:求助!!!
GetAsynKeyState到底怎么用???
#include<iostream>
#include"windows.h"
using namespace std;
int main()
{
if(GetAsynKeyState(VK_UP)<0)
cout<<"a";
cout<<"b";
}
哪里错了???
#include<iostream>
#include"windows.h"
using namespace std;
int main()
{
if(GetAsynKeyState(VK_UP)<0)
cout<<"a";
cout<<"b";
}
哪里错了???