Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2000 20:14:12 +0800
From:      "Alex Kwan" <alexkwan@pacific.net.hk>
To:        "XF" <gin@dds.nl>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: A basic question about C programming (sloved)
Message-ID:  <001701bfbd9d$eae8be60$591e40ca@alexkwan>
References:  <000701bfbd9b$fd945300$591e40ca@alexkwan> <20000514131017.A801@dds.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

Thank you! it is ok now, but why?

Alex

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




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?001701bfbd9d$eae8be60$591e40ca>