Date: Sun, 14 May 2000 20:00:23 +0800 From: "Alex Kwan" <alexkwan@pacific.net.hk> To: <freebsd-questions@FreeBSD.ORG> Subject: A basic question about C programming Message-ID: <000701bfbd9b$fd945300$591e40ca@alexkwan>
next in thread | raw e-mail | index | archive | help
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
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?000701bfbd9b$fd945300$591e40ca>
