Article View: be.comp.programming
Article #15307c: ruff start
From: Sébastien Peterson
Date: Tue, 17 Oct 2000 00:00
Date: Tue, 17 Oct 2000 00:00
28 lines
1235 bytes
1235 bytes
Hy,
I'm new in C.
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'...
This is a ruff start in C programming when the simpliest program doesn't
work.
I suppose the problem is somewhere else.
Thanks for your help.
Sebastien Peterson
Li�ge Belgium
sebastien.peterson@student.ulg.ac.be
Technical Details
Message-ID:
<39EC4C9B.D25D2210@student.ulg.ac.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: fcea4,645aaa05c8144800,start X-Google-Attributes: gidfcea4,public From: Sébastien Peterson <sebastien.peterson@student.ulg.ac.be> Subject: c: ruff start Date: 2000/10/17 Message-ID: <39EC4C9B.D25D2210@student.ulg.ac.be> X-Deja-AN: 682452903 Content-Transfer-Encoding: 8bit Organization: Universit� de Li�ge X-Accept-Language: fr Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Newsgroups: be.comp.programming