Re: Setting up an Ada hello world project
- From: Michael Bode <m.g.bode@xxxxxx>
- Date: Tue, 31 Oct 2006 21:50:04 +0100
"markww" <markww@xxxxxxxxx> writes:
This is the first time I'm using Ada, sorry if my questions seem
absoultely ridiculous to you. I am using GPS - GNAT for windows. I
created a new project called 'Ada_LinkedList'. I'd just like to be able
to output something to screen, I'm not sure how what the compiler
wizard created for me combines with the hello world snippet I found to
produce an exe which will do that,
I don't use GPS so I can't comment on it, but I've found that for a
start it is sometimes easier to do without IDEs and 'wizards'. Just
save this
with Ada.Text_IO;
procedure Hello is
begin
Ada.Text_IO.Put_Line("Hello, world!");
end Hello;
to a file called 'hello.adb' and then type 'gnatmake hello.adb' on the
console.
--
Michael Bode
.
- References:
- Setting up an Ada hello world project
- From: markww
- Re: Setting up an Ada hello world project
- From: Jeffrey R. Carter
- Re: Setting up an Ada hello world project
- From: markww
- Setting up an Ada hello world project
- Prev by Date: Re: Porting Ada code to Linux
- Next by Date: Re: Setting up an Ada hello world project
- Previous by thread: Re: Setting up an Ada hello world project
- Next by thread: Re: Setting up an Ada hello world project
- Index(es):
Relevant Pages
|