comp.lang.ada
 help / color / mirror / Atom feed
From: "Eric Robert" <synapzzz@hotmail.com>
Subject: Re: Newbee question
Date: Sat, 14 Dec 2002 20:49:02 -0500
Date: 2002-12-14T20:49:02-05:00	[thread overview]
Message-ID: <0dRK9.37601$xH3.400905@weber.videotron.net> (raw)
In-Reply-To: 3DFB9067.2040600@acm.org

Well, yes and no. I am not a student anymore and I know quite a few
languages. But not ADA even if I hear of it when I was a student at the
University. But one student came to me and ask me to do a little thing in
ADA. So, I read the Lovelace tutorial from the start to the end and still, I
wasn't quite able to do anything usefull.

I must say that, being a senior C++ programmer, ADA seems to me like a
language that isn't very usefull & efficient. Sorry to say but it seems like
a languages for dummies! I when to the library to get a book and now I can
do usefull stuff. The web is not crowded with ADA samples & resources so I
needed a book! I can't belive this... The community is much smaller than
what I'm used to (C and C++). But still : it was worth to learn. It maybe
good for learning and research (i.e. when you're NOT a experienced
programmmer) but not for real life usage when CPU & ressources are critical.
Sorry but learning it doesn't make me a believer ;-)

Thanks anyways!

"Jeffrey Carter" <jrcarter@acm.org> wrote in message
news:3DFB9067.2040600@acm.org...
> Eric Robert wrote:
> >
> > I'm new to Ada (2nd day almost) and I'm trying to save an array of
record in
> > a file. So far so goood. I save an integer first to know how many items
they
> > are in the array. But how can I possibly read it back? I don't know the
size
> > of the array yet. It seems to me that I need to use unconstrained
arrays. If
> > so, I can't get the syntax right or a proper example explaining how to
> > enlarge the array...
>
> So, is this a homework problem?
>
> You might want to look at block statements. You can declare an array
> variable in a block statement using values determined at run time.
>
> --
> Jeff Carter
> "Why don't you bore a hole in yourself and let the sap run out?"
> Horse Feathers
>





  reply	other threads:[~2002-12-15  1:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-14 15:16 Newbee question Eric Robert
2002-12-14 20:10 ` Jeffrey Carter
2002-12-15  1:49   ` Eric Robert [this message]
2002-12-15  4:04     ` James S. Rogers
2002-12-16 10:32       ` John McCabe
2002-12-16 13:28         ` Marin David Condic
2002-12-17  0:31           ` Randy Brukardt
2002-12-17 15:24             ` Marin David Condic
2002-12-19 10:32               ` Ole-Hjalmar Kristensen
2002-12-15  7:57     ` Pascal Obry
2002-12-15 10:06     ` Jerry van Dijk
2002-12-15 19:04       ` Michal Nowak
2002-12-16 10:33         ` John McCabe
2002-12-16  0:47     ` Eric Robert
2002-12-17  3:23       ` Bill Findlay
2002-12-16 10:28     ` John McCabe
2002-12-17  2:36       ` Eric Robert
2002-12-17  3:24         ` Bill Findlay
2002-12-18  9:37         ` John McCabe
replies disabled

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