Click here to Skip to main content
15,891,951 members
Articles / Programming Languages / C++
Article

Dictionary File

Rate me:
Please Sign up or sign in to vote.
1.02/5 (18 votes)
27 May 2005 51.2K   795   9   10
Creates a dictionary file up to 7 digits in length.

Introduction

This little program is a command line based dictionary file creator.  

Background (optional)

There was a great program called Refiner, however I can no longer find it.  So, I created a mini version of it.  Using my limited programming skills I created this program just to see if I could.  Some things to remember when using it.  If you are going to create a file larger than 4Gb you will  have to run it from a NTFS partition.  If you want to use the reader correctly then the file needs to be smaller than 4Gb.

Using the code

It is not a pretty code.  There is just one large cpp file.  If you are able to clean it up (which I'm sure many of you can) or are able to fix the problem with the reader, please let me know so I can make updates to it.

Points of Interest

For loops are a great thing.  They are simple yet powerful.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Network Administrator
United States United States
I am a network administrator in the process of moving to the computer programming field.

Comments and Discussions

 
GeneralPeople... Pin
Andrew Admire28-May-05 9:42
Andrew Admire28-May-05 9:42 
GeneralRe: People... Pin
Geert van Horrik29-May-05 2:37
Geert van Horrik29-May-05 2:37 
GeneralTerrible coding , But .... Pin
ddmcr28-May-05 9:03
ddmcr28-May-05 9:03 
GeneralI've never seen.... Pin
Alexander M.,28-May-05 7:12
Alexander M.,28-May-05 7:12 
a coding style that is more complicated than yours.
Your code is 150kb in size... and the way your generator works is uneconmic, nonflexible and completly unreasonable.

Don't try it, just do it! Wink | ;-)
GeneralRe: I've never seen.... Pin
Andrew Admire28-May-05 8:46
Andrew Admire28-May-05 8:46 
GeneralRe: I've never seen.... Pin
Anonymous29-May-05 1:39
Anonymous29-May-05 1:39 
Questionhow long did it take you to write? Pin
tom_dx28-May-05 2:39
tom_dx28-May-05 2:39 
AnswerRe: how long did it take you to write? Pin
Andrew Admire28-May-05 4:46
Andrew Admire28-May-05 4:46 
GeneralA bit on the terse side Pin
Jason De Arte27-May-05 19:28
Jason De Arte27-May-05 19:28 
GeneralRe: A bit on the terse side Pin
Anonymous28-May-05 4:43
Anonymous28-May-05 4:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.