comp.lang.ada
 help / color / mirror / Atom feed
From: Michael Bode <m.g.bode@web.de>
Subject: Re: Setting up an Ada hello world project
Date: Tue, 31 Oct 2006 21:50:04 +0100
Date: 2006-10-31T21:50:04+01:00	[thread overview]
Message-ID: <ei8cts$p8p$2@online.de> (raw)
In-Reply-To: 1162324605.940929.208800@b28g2000cwb.googlegroups.com

"markww" <markww@gmail.com> 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



  reply	other threads:[~2006-10-31 20:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-31 19:14 Setting up an Ada hello world project markww
2006-10-31 19:43 ` Jeffrey R. Carter
2006-10-31 19:56   ` markww
2006-10-31 20:50     ` Michael Bode [this message]
2006-10-31 20:58 ` Björn Persson
2006-10-31 21:05   ` markww
2006-10-31 21:08     ` markww
2006-11-01  7:27 ` Martin Krischik
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox