bioskey()函数应用问题
#include<stdio.h>
#include<bios.h>
#include<stdlib.h>
void main()
{
int a,b;
a=bioskey(0);
b=bioskey(2);
printf("a=%d\n",a);
printf("b=%d\n",b);
}
笔记本电脑,windows xp操作系统,TC2.0编译环境。
只按下“a”键,不需要按第二个键运行结果就显示a=7777和b=160;
不是应该显示a=97和b根据按键不同而返回不同值吗?