www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/11/02:05:48

Date: Sat, 11 Nov 2000 09:02:39 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "abacuc" <f DOT onorati AT tiscalinet DOT it>
Message-Id: <7458-Sat11Nov2000090239+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <8ui41b$2nn$1@lacerta.tiscalinet.it> (f.onorati@tiscalinet.it)
Subject: Re: editor
References: <8ui41b$2nn$1 AT lacerta DOT tiscalinet DOT it>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019