Rakesh wrote:
Hi -
What is wrong this implementation? I get a core dump at the free()
statement? Thanks
Rakesh
Hi Rakesh!
for (Iter1 = AddedPhrases.begin(); Iter1 != AddedPhrases.end();
Iter1++)
Just replace Iter1++ by ++Iter1 above.
Hope this helps!
Sebastien
--
Sebastien Guerif
http://www-lipn.univ-paris13.fr/~guerif
--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus