Z
zaharije.pasalic
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".
Thanks,
Zaharije Pasalic
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".
Thanks,
Zaharije Pasalic