By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,125 Members | 1,257 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,125 IT Pros & Developers. It's quick & easy.

Multiset (as dictionary) searching

P: n/a
How to search multiset<string,string> for all pairs (s1,s2) that have
first s1.length() chars same? Something like
strncmp(s1.c_str(), s2.c_str(),s1.length()).

U used "flat" search for dictionary but it finds just words that are
strictly same. It will be good to display "BOXING" for word "BOX".

Zaharije Pasalic

Jul 23 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.