comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey Creem" <jeff@thecreems.com>
Subject: Re: Two questions
Date: Thu, 04 Jul 2002 22:40:23 GMT
Date: 2002-07-04T22:40:23+00:00	[thread overview]
Message-ID: <r94V8.401673$352.52922@sccrnsc02> (raw)
In-Reply-To: a5ae824.0207041425.671c1d02@posting.google.com

Look at :

gtkada.eu.org

You will have to download and install the gtk toolkit for solaris. Gtk has
gotten pretty tough to compile
(lot of packages) but it does go fairly smoothly.

On the plus side, future Solaris versions will include GNOME (www.gnome.com)
and thus
Gtk libraries. Also, to some extent, you application GUI code can run under
Windows
with the Gtk libraries that have been ported to that platform.

Get a copy of glade (glade.gnome.org). It is a gui builder that supports Gtk
(and GtkAda) and when
you are just starting out it makes things a lot easier.

Finally..Your message is a little confusing since you say you could use
Visual C? On Solaris? Hmm..


"Mark" <ma740988@pegasus.cc.ucf.edu> wrote in message
news:a5ae824.0207041425.671c1d02@posting.google.com...
> Gents I'd like to do a GUI application in ADA.  The application will
> be run on Solaris.  Is there a 'free' toolset I could start off with
> that offers ease of use.  Rapid seems to be the only one.   In any
> event, help.
>
>
> Could someone provide sample code on accomplishing a task.  I have an
> application where I want the user to enter up to 250 values max.
> Values are in the range 1 .. 65535.
> So now the user will first tell me how many values he wants:  lets
> assume the user wants 10 values.
> My next question would be for user to enter the 10 values within the
> range specified above.  I'll then store user defined values into an
> array which I'll pass on to a function that'll take user defined
> values and parse into 'hibyte versus lobyte'.   The function part i
> can handle however,the user selection part I'm a bit confused about.
>
> I'd like to also have the option to to use a random number generator.
>  This helps such that if the user watns 200 values.  I'll generate 200
> random numbers within specified range.
>
> So now my 'menu' would look like this:
>   -- 1. How many numbers.
>   -- 2. Random Numbers or User defined
>   -- 3. Store numbers into array.
>   -- 4. Pass numbers into function.
>
> I could do all this in Visual C etc, but as i'm learning Ada I've
> grown to like it and am now trying to perfect my Ada.
>
> Thanks in advance





  reply	other threads:[~2002-07-04 22:40 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-04 22:25 Two questions Mark
2002-07-04 22:40 ` Jeffrey Creem [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-03-12 10:59 Christoph Grein
2001-03-12 17:43 ` Stephen Leake
2001-03-09 18:27 chris.danx
2001-03-09 20:22 ` Mark Lundquist
2001-03-09 20:56 ` Randy Brukardt
2001-03-12 15:36 ` John English
2001-03-12 18:11   ` chris.danx
1996-11-09  0:00 tmoran
1996-11-11  0:00 ` Adam Beneschan
1996-11-13  0:00 ` Richard A. O'Keefe
1996-11-07  0:00 Ding-yuan Sheu
1996-11-07  0:00 ` Robert Dewar
1996-11-08  0:00 ` Jon S Anthony
1996-11-08  0:00 ` Robert I. Eachus
1996-11-08  0:00 ` Norman H. Cohen
1996-05-01  0:00 Bernard Banner
1996-05-01  0:00 Ed Seidewitz
1996-05-01  0:00 W. Wesley Groleau (Wes)
1989-04-11 13:32 Piercarlo Grandi
1989-04-14 17:14 ` callen
1989-03-30 11:53 Piercarlo Grandi
1989-04-13  0:46 ` Paul Stachour
1989-03-29  9:16 HansM
1989-03-29 18:35 ` Michael Peirce
1989-03-31 13:10 ` stt
1989-03-31 18:59 ` Scott Simpson
1989-04-03 14:44 ` callen
replies disabled

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