Article View: be.comp.programming
Article #15309Re: c: ruff start
From: Ludo Joris
Date: Tue, 17 Oct 2000 00:00
Date: Tue, 17 Oct 2000 00:00
25 lines
1264 bytes
1264 bytes
On Tue, 17 Oct 2000 14:56:59 +0200, =?iso-8859-1?Q?S=E9bastien?= Peterson
<sebastien.peterson@student.ulg.ac.be> wrote:
>I work under Linux, with the Suse distribution.
>To test my programs, I've wrote this simple program:
>
>#include <stdio.h>
>main()
> {
> printf("hy everyone");
> }
>
>
>and saved it under 'test.c'
>then I compiled it with 'gcc test.c'
>everything seems to go correctly because I get the file a.out
>Then I try to execute a.out by 'a.out' and the shell tells me :'command
>not found'
>Off course I'm in the good directory. I work in the directory
>'/root/work'...
Could it be that the current directory is not in your PATH?
Try ./a.out.
HTH
Technical Details
Message-ID:
<39ec5587.23638507@news.ruca.ua.ac.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39EC4C9B.D25D2210@student.ulg.ac.be>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcea4,645aaa05c8144800 X-Google-Attributes: gidfcea4,public From: lujo@ruca.ua.ac.be (Ludo Joris) Subject: Re: c: ruff start Date: 2000/10/17 Message-ID: <39ec5587.23638507@news.ruca.ua.ac.be> X-Deja-AN: 682458415 References: <39EC4C9B.D25D2210@student.ulg.ac.be> X-Complaints-To: abuse@belnet.be X-Trace: naxos.belnet.be 971789509 9305 143.129.201.210 (17 Oct 2000 13:31:49 GMT) Organization: UA-Ruca NNTP-Posting-Date: Tue, 17 Oct 2000 13:31:49 +0000 (UTC) Newsgroups: be.comp.programming