473,387 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Who knows how to use map in c++?

Map and multimap containers are containers that manage key/value pairs
as elements.
Can some one give me an example using map?
it will give me a big help when i am programing .
Thank u!

Oct 18 '05 #1
2 5655
jtan...@hotmail.com wrote:
Map and multimap containers are containers that manage key/value pairs
as elements.
Can some one give me an example using map?
it will give me a big help when i am programing .


http://www.sgi.com/tech/stl/Map.html

Kristo

Oct 18 '05 #2
jt*****@hotmail.com wrote:
Map and multimap containers are containers that manage key/value pairs
as elements.
Can some one give me an example using map?


What book on C++ are you reading that doesn't have examples using 'map'?

V
Oct 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Market Mutant | last post by:
I don't care about money. I want the best board: low CPU/memory take. Low MySQl usage. I have heard that PHPBB is the worst if you know PHP and read the codes. So I pass on that one. Can...
2
by: Hans Deragon | last post by:
Greetings. The official PyGTK website is down and not responding for a few days. http://www.daa.com.au/~james/pygtk/ Anybody knows why and where/when it will be brought up?
0
by: Steve Horsley | last post by:
I am trying to automate changing of a password for a particular user account (for use by scripts, not people). I am trying to use the command "passwd testuser" as root. Of course I can do this by...
2
by: Steve | last post by:
Hi, I'd like to know if anybody knows NTsendmail and how I can add variable that point to a textarea defined in a HTML? I can run it now but it shows the example text defined in ntsendmail.pl...
1
by: di boruman | last post by:
Hi, I would like to let a member a of class A know about the object it was created in: A a(this); 'this' would be stored in a member of A, for example B* b;
74
by: Suyog_Linux | last post by:
I wish to know how the free()function knows how much memory to be freed as we only give pointer to allocated memory as an argument to free(). Does system use an internal variable to store allocated...
4
by: neoswf | last post by:
Hey Does anyone knows a powerfull and relaible HTML / JS / CSS Optimization tool ? right now im using stylePro for optimizing CSS and afterwords optimizng it using...
68
by: James Dow Allen | last post by:
The gcc compiler treats malloc() specially! I have no particular question, but it might be fun to hear from anyone who knows about gcc's special behavior. Some may find this post interesting;...
2
by: reckless2k | last post by:
Client side; knows nothing of Derived: class Base { ... virtual void do_something() } #include "Base.h" void main() {
2
by: khajeddin | last post by:
hi there : is here anyone who knows how can i access to sevral "C pragraimg exercises" or "C programing problems".anyone knows any website?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.