From owner-freebsd-questions Sun May 14 5: 3:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtpe.casema.net (smtpe.casema.net [195.96.96.172]) by hub.freebsd.org (Postfix) with SMTP id 3369E37BD80 for ; Sun, 14 May 2000 05:03:22 -0700 (PDT) (envelope-from gin@hookers.com) Received: (qmail 25643 invoked from network); 14 May 2000 12:03:18 -0000 Received: from unknown (HELO Avelon.net) (195.96.121.237) by smtpe.casema.net with SMTP; 14 May 2000 12:03:18 -0000 Received: by hookers.com via sendmail from stdin id (Debian Smail3.2.0.102) for freebsd-questions@freebsd.org; Sun, 14 May 2000 13:10:17 +0200 (CEST) Date: Sun, 14 May 2000 13:10:17 +0200 From: XF To: Alex Kwan Subject: Re: A basic question about C programming Message-ID: <20000514131017.A801@dds.nl> References: <000701bfbd9b$fd945300$591e40ca@alexkwan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <000701bfbd9b$fd945300$591e40ca@alexkwan>; from alexkwan@pacific.net.hk on Sun, May 14, 2000 at 08:00:23PM +0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, May 14, 2000 at 08:00:23PM +0800, Alex Kwan wrote: > Hi! > > I am learning C programming with FreeBSD, I write a simple C program > (filename: inform.c) as follow: > #include > main() > { > printf("A .c is used to end a C program filename.\n"); > } > > I compile it with "cc -o inform inform.c", when the compilation is > finished, > I have got the file "inform", but it can't execute and got the error > "inform: Command not found", What is the problem of me? > > Thanks > > try ./inform -- Error: Keyboard not attached. Press F1 to continue. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message