flat assembler
Message board for the users of flat assembler.

Index > Windows > Anagram solver

Author
Thread Post new topic Reply to topic
UCM



Joined: 25 Feb 2005
Posts: 285
Location: Canada
UCM 19 Feb 2006, 18:48
I wrote an anagram solver, about a year ago *1.
In fact, the only problem was the function to calculate the string length.
So, about a week ago, I decided to use OllyDbg (lol) and I replaced it with a new algorithm.
Now it works!! Very Happy
Any critism, suggestions or comments welcomed.

EDIT: You need a dictionary with this program - called dictionary.txt.
Each word should be separated with a NUL character and should have 1 NUL character at the end.
The add_words macro adds missing words and adds the extra 0 at the end.

*1. to Matrix, remember the 1 byte bubblesort?


Description: source code
Download
Filename: anagramv2.asm
Filesize: 5.41 KB
Downloaded: 248 Time(s)


_________________
This calls for... Ultra CRUNCHY Man!
Ta da!! *crunch*
Post 19 Feb 2006, 18:48
View user's profile Send private message Reply with quote
Crukko



Joined: 26 Nov 2005
Posts: 118
Crukko 19 Feb 2006, 19:32
If you can, always add the .exe too Wink
both .exe & .asm in a .rar.....I think will be better
Post 19 Feb 2006, 19:32
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 19 Feb 2006, 19:39
...and some example dictionary.txt AND a resource file that its looking for, thanks Wink
Post 19 Feb 2006, 19:39
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
UCM



Joined: 25 Feb 2005
Posts: 285
Location: Canada
UCM 19 Feb 2006, 19:49
it's too big. grr.
download the dictionary from
http://www.codehappy.net/wordlist.htm
and convert it (it uses CRLF to separate words) and strip off most of the end.

_________________
This calls for... Ultra CRUNCHY Man!
Ta da!! *crunch*
Post 19 Feb 2006, 19:49
View user's profile Send private message Reply with quote
UCM



Joined: 25 Feb 2005
Posts: 285
Location: Canada
UCM 19 Feb 2006, 19:50
it's too big. grr.
download the dictionary from
http://www.codehappy.net/wordlist.htm
and convert it (it uses CRLF to separate words) and strip off most of the end.
the resource file is attached, sorry i forgot
EDIT: ooops, sorry for the last post


Description:
Download
Filename: anagramv2.res.bz2
Filesize: 1.21 KB
Downloaded: 215 Time(s)


_________________
This calls for... Ultra CRUNCHY Man!
Ta da!! *crunch*
Post 19 Feb 2006, 19:50
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.