Sounds like it would make a great homework problem. I'd consider using 'sort' on the characters of each word, because that changes ANY scrambling to the same form. I'd also consider using a hashtable instead of a simple vector.
-Wm ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
