mellonamin![]() Member Posts: 119 From: Maryville, TN, United States Registered: 11-16-2004 |
Can anyone help me out with maps in C++? I can't find any information about them in any of my books except that they are containers in the STL...I have no idea what their syntax is or anything. I want to use them to store name/password pairs for a game I am making...is this a good idea or should i use some other method? Also, is it possible to assign more than one value to each key so I can have name/password/race/gender/etc...keys? ------------------ |
Briant![]() Member Posts: 742 From: Stony Plain, Alberta, Canada Registered: 01-20-2001 |
Here's some links: http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=379 |
mellonamin![]() Member Posts: 119 From: Maryville, TN, United States Registered: 11-16-2004 |
thanks brian_t! ------------------ |
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
What are maps? ------------------ |
Briant![]() Member Posts: 742 From: Stony Plain, Alberta, Canada Registered: 01-20-2001 |
The first links does a good job of describing what maps are, and provides a good example. If you have any specific questions about maps, we'll try to answer them. ![]() |