On the second line of main, you do "len = v.size()", but then don't use this. I get better code in some cases like this by replacing v.size() with len in the actual loop.
_______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus