Posted by Olli Salonen on 1999-09-05
Hello all! I'm programming a program that makes anagrams, and I have to check if one word contains the letters of another. Example: I need to check if the word MICROSOFT contains the word FOOT. Any idea how to do this fast? I currently have only simple for- loops that go through both words letter by letter and compare them. Thanks in advance, --- Olli Salonen llysalol@xxxxx.xxxx.xxxxxxx.xx Ippisenkatu 12 http://www.info.tampere.fi/~llysalol 33300 Tampere ... the less you know Finland the more you believe...
Previous post | Next post | Timeline | Home