69,382
社区成员
发帖
与我相关
我的任务
分享
#include<conio.h>
int main(void) { cprintf("Press any key to continue:"); while (!kbhit()) /* do nothing */ ; cprintf("\r\nA key was pressed...\r\n"); return 0; }
while (1)//
{
while(_kbhit()!=0)//当按下按键的时候
{
if (getch()==224)
{
a=getch();
abc(a);
}
}
}