🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #309664

Re: Mapa - czy jest możliwość wielu elementów dla jednego klucza ?

#309664
From: Borneq
Date: Fri, 06 Apr 2018 15:18
7 lines
1298 bytes
W dniu 06.04.2018 o 17:16, Borneq pisze:
> Mam wiele elementów typu (A,1)(A,2)(B,4)(B,5)...
> gdzie mam wiele kluczy A,B.. a dla każdego klucza tylko kilka elementów. 
> Chciałbym zrobić mapę, drzewo albo listę, taką że szybko wyszukuję klucz 
> A a potem mam listę [1,2]
Multimap?
http://thispointer.com/multimap-example-and-tutorial-in-c/
Technical Details
Message-ID: <pa833v$cv3$2@node2.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
References: <pa830s$cv3$1@node2.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: Borneq <borneq@antyspam.hidden.pl>
Newsgroups: pl.comp.lang.c
Subject: Re: Mapa - czy jest możliwość wielu
 elementów dla jednego klucza ?
Date: Fri, 6 Apr 2018 17:18:24 +0200
Organization: ATMAN - ATM S.A.
Lines: 7
Message-ID: <pa833v$cv3$2@node2.news.atman.pl>
References: <pa830s$cv3$1@node2.news.atman.pl>
NNTP-Posting-Host: public-gprs352667.centertel.pl
Mime-Version: 1.0
X-Trace: node2.news.atman.pl 1523027903 13283 37.47.8.220 (6 Apr 2018 15:18:23 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Fri, 6 Apr 2018 15:18:23 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
In-Reply-To: <pa830s$cv3$1@node2.news.atman.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit