strcmp is for C-style strings. Use in-built compare function of C++ strings
( http://www.cplusplus.com/reference/string/string/compare/ ), or why not
simply '==' operator.
--
Prakhar Jain
IIIT Allahabad
B.Tech IT 4th Year
Mob no: +91 9454992196
E-mail: rit2009...@iiita.ac.in
Iterate through index_name, for each value you traverse, now try to find
inside name_age by calling find on it. Now if it is found, put it temporary
map.
Now the iteration is over, clear index_name map. Put all the values from
temporary map into _name map.
On 9 May 2013 21:40, Nishant Pandey
This is my code snippet
#include iostream.h
#include string
#include set
#include map
#include vector
#include sstream
#include cctype
using namespace std;
void work() {
mapstring, int name_age;
mapint,string index_name;
mapint,string index_name_temp;
std::map int, string ::iterator it;
hi ,
i've recently joined this group in a mood to master the algorithms.
Will someone tell ,weather i will be benifitted by this group or not.
???
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to
Yes
On 6 April 2011 11:36, a_SillyGuy ammukumar...@gmail.com wrote:
hi ,
i've recently joined this group in a mood to master the algorithms.
Will someone tell ,weather i will be benifitted by this group or not.
???
--
You received this message because you are subscribed to the Google
This is a great group. Here, we share our knowledge and get to know a lot of
new algorithmic techniques.
On Wed, Apr 6, 2011 at 4:08 PM, Carl Barton odysseus.ulys...@gmail.comwrote:
Yes
On 6 April 2011 11:36, a_SillyGuy ammukumar...@gmail.com wrote:
hi ,
i've recently joined this group in
Wow really this is great group i have figured out..
very very interesting love it...
Thanks to all active memeber of this group
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algoge...@googlegroups.com.