Re: ++ of C in ada
- From: Martin Krischik <krischik@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 25 Jul 2005 19:00:47 +0200
nicolas.b wrote:
> How can i implement the operator ++ in ada :
>
> type T_Ptr is access all T_Item;
> How can i implement : procedure Increment (Ptr : in out T_Ptr);
> thanks
Other allready pointed out that what you are asking it is not a good idea.
May I suggest the following readings:
http://en.wikibooks.org/wiki/Programming:Ada:Control#for_loop_on_arrays
http://en.wikibooks.org/wiki/Programming:Ada:Types:array
Martin
--
mailto://krischik@xxxxxxxxxxxxxxxxxxxxx
Ada programming at: http://ada.krischik.com
.
- References:
- ++ of C in ada
- From: nicolas.b
- ++ of C in ada
- Prev by Date: Re: Isn't this in favour of Ada??
- Next by Date: Re: type and subtype
- Previous by thread: Re: ++ of C in ada
- Next by thread: Re: ++ of C in ada
- Index(es):
Relevant Pages
|