Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » VectorMap:how to replace a Value
Re: VectorMap:how to replace a Value [message #29131 is a reply to message #29130] Wed, 06 October 2010 19:54 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Javier,

I believe cbporter meant this:
	VectorMap<String,int> map
	map.Get("key")=2;
	map[map.Find("key")]=3;

Sorry for giving you such short answer as well, but those are quite trivial and there is not much to say Smile

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Trouble with Socket
Next Topic: Writes to freed blocks detected
Goto Forum:
  


Current Time: Thu May 23 16:55:21 CEST 2024

Total time taken to generate the page: 0.03116 seconds