Re: How to use associative arrays in Ada 2005?
- From: Georg Bauhaus <bauhaus@xxxxxxxxxxxxx>
- Date: Thu, 23 Nov 2006 20:40:07 +0100
On Thu, 2006-11-23 at 11:27 -0800, snoopysalive wrote:
The statement "Ages.Insert("family name",Insert("name",23));" doesn't
work.
Think about what Insert returns, if anything.
Programs written in Ada are less frequently filled with
abbreviations :-)
So, how is it possible to do something like this in C++:
"...
map<string, map<string,int>> ages;
ages["family name"]["name"] = 23;
..."
.
- References:
- How to use associative arrays in Ada 2005?
- From: snoopysalive
- Re: How to use associative arrays in Ada 2005?
- From: Matthew Heaney
- Re: How to use associative arrays in Ada 2005?
- From: snoopysalive
- Re: How to use associative arrays in Ada 2005?
- From: snoopysalive
- How to use associative arrays in Ada 2005?
- Prev by Date: Re: How to use associative arrays in Ada 2005?
- Next by Date: C to Ada
- Previous by thread: Re: How to use associative arrays in Ada 2005?
- Next by thread: Re: How to use associative arrays in Ada 2005?
- Index(es):