From: taw@pb220.legnica.sdi.tpnet.pl (Tomasz Wegrzanowski)
Subject: How to do it in Ada ?
Date: 16 Jul 2001 03:33:22 GMT
Date: 2001-07-16T03:33:22+00:00 [thread overview]
Message-ID: <9itna2$i5b$1@news.tpi.pl> (raw)
int main(int argc, char **argv)
{
int *x;
int n;
n = (argc==1)?1:atoi(argv[1]);
x = malloc (n*sizeof(int));
for (x=0;x<n;x++)
x[i]=0;
/* ... */
}
Something like that ... how to do such dynamic array allocation in Ada ?
next reply other threads:[~2001-07-16 3:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-16 3:33 Tomasz Wegrzanowski [this message]
2001-07-16 5:31 ` How to do it in Ada ? Jeffrey Carter
2001-07-16 6:41 ` Al Christians
2001-07-16 6:51 ` tmoran
2001-07-16 16:56 ` Mark Lundquist
2001-07-16 18:42 ` Nonsense (was Re: How to do it in Ada ?) Mark Lundquist
2001-07-16 22:20 ` Jeffrey Carter
2001-07-17 0:13 ` Ken Garlington
2001-07-17 3:53 ` Robert Dewar
2001-07-16 22:18 ` How to do it in Ada ? Jeffrey Carter
2001-07-17 4:06 ` tmoran
2001-07-20 5:39 ` David Thompson
2001-07-16 17:37 ` Ken Garlington
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox