Re: where exactly c++,c fail and Ada gets thru'
- From: Martin Krischik <krischik@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 26 Apr 2006 19:48:42 +0200
Keith Thompson wrote:
In fact, it's not possible in C to pass an array directly as a
function parameter.
Actually C99 can pass arrays. The declaration looks something like this:
F (int A_Lenght, double A [A_Lenght])
or
G (double A [static 10])
or even
H (double A [*])
But then: AFAIK: there is only one compiler which prides itself with
actually implementing C99 arrays and one compiler which at least tries and
and has the failures on it's bug list.
Martin
--
mailto://krischik@xxxxxxxxxxxxxxxxxxxxx
Ada programming at: http://ada.krischik.com
.
- Follow-Ups:
- Re: where exactly c++,c fail and Ada gets thru'
- From: Keith Thompson
- Re: where exactly c++,c fail and Ada gets thru'
- References:
- where exactly c++,c fail and Ada gets thru'
- From: Ananth the Boss
- Re: where exactly c++,c fail and Ada gets thru'
- From: jimmaureenrogers@xxxxxxxxxxxxxxxx
- Re: where exactly c++,c fail and Ada gets thru'
- From: Keith Thompson
- where exactly c++,c fail and Ada gets thru'
- Prev by Date: Re: procedural vs object oriented
- Next by Date: Re: where exactly c++,c fail and Ada gets thru'
- Previous by thread: Re: where exactly c++,c fail and Ada gets thru'
- Next by thread: Re: where exactly c++,c fail and Ada gets thru'
- Index(es):
Relevant Pages
|