Mail Archives: djgpp/2000/11/11/02:05:48
> From: "abacuc" <f DOT onorati AT tiscalinet DOT it>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 11 Nov 2000 01:32:41 +0100
>
> pf=fopen("prova.c","w");
> while((car=getxkey())!=K_F1)
Beware: getxkey() calls a BIOS keyboard input function, and therefore
returns scan codes for function and other special keys, and also sets
bits outside the 0-255 limits of the 8-bit byte. If you write those
values to a disk file, you will get some pretty funny garbage in the
file.
> then I compiled and ran it. I wrote the classical hello program and
> than i opened it with an editor and so i could control that the prova.c
> file was correct. So i compiled prova.c but i received this error message:
> #include expects "FILENAME" or <FILENAME>
> why happens this? and how can i resolve this problem?
Look at the file prova.c and see why. If you cannot figure it out,
post the file prova.c here.
- Raw text -