为什么vc6.0打不开《filio.h》这个头文件
#include<stdio.h>//#include<stdlib.h>
#include<windows.h>
#include<filio.h>
int kbhit()
{
int i;
ioctl(0,FIONREAC,&i);
return i;
}
void main()
{
int i=0;
int c='';
system("stty raw -echo");
printf("enter 'q' IO quit\m");
for(;c != 'q';i++)
{
if(kbhit())
{
c=getchar();
printf("\n got %d, on iteration %c", c,i);
}
}
system("stty cooked echo");
}
问题是
---Configuration: CHuanJiaBianChen1_example1 - Win32 Debug--------------------
Compiling...
CHuanJiaBianChen1_example1.cpp
D:\vc6.0\Microsoft Visual Studio\MyProjects\CZhuanJiaBianChen1\CHuanJiaBianChen1_example1.cpp(4) : fatal error C1083: Cannot open include file: 'filio.h': No such file or directory
执行 cl.exe 时出错.
CHuanJiaBianChen1_example1.obj - 1 error(s), 0 warning(s)
为什么?