Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2000 13:10:17 +0200
From:      XF <gin@dds.nl>
To:        Alex Kwan <freebsd-questions@freebsd.org>
Subject:   Re: A basic question about C programming
Message-ID:  <20000514131017.A801@dds.nl>
In-Reply-To: <000701bfbd9b$fd945300$591e40ca@alexkwan>; from alexkwan@pacific.net.hk on Sun, May 14, 2000 at 08:00:23PM %2B0800
References:  <000701bfbd9b$fd945300$591e40ca@alexkwan>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <stdio.h>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000514131017.A801>