digitalmars.D - Announcement: Random names and addresses generator released.
- David L. Davis (114/114) Dec 02 2004 What is it: Tis an app that randomly creates (USA) full names and addres...
What is it: Tis an app that randomly creates (USA) full names and addresses from a set of XML files...using a XML config file, and outputs an XML file that can be imported into a database, to build test personnel data tables. After of months writing tons of D code toward bring this project forward (only to use two modules...so far), I'm releasing a commandline version that I've tested under Windows, but it should also work under Linux since it uses the Phobos runtime library for file io. Get the downloadable zipfiles here: http://spottedtiger.tripod.com/D_Language/D_Randomly_Gen_Data_XP.html Sample program run: ------------------- C:\dmd\randomdata>..\bin\dmd randomdata.d toyxml.d stringplus.d C:\dmd\bin\..\..\dm\bin\link.exe randomdata+toyxml+stringplus,,,user32+kernel32/noi; C:\dmd\randomdata>randomdata Random personnel names and addresses generator v0.2 by David L. 'SpottedTiger' Davis - 2004 Shawna Gayle Alexander 714 Runkle Light Cullman, AL 35056 (256) 615-5616 Donn David Lopez 6849 Glenflora Causeway Toa Alta, PR 00953 (787) 977-9189 Miranda Chantal Phillips 9659 Modest Path Indianapolis, IN 46208 (317) 633-6471 Elias Mackenzie Wilson 5360 Connolly Wells Vernon Rockville, CT 06066 (860) 857-4090 Mattie Gail Rivera 2215 Sandy Bend Berry, AL 35546 (205) 433-6192 Created 5 records. Wrote "personnel.xml" to "C:\dmd\randomdata" done. ================ Sample XML output used to import with: -------------------------------------- David L. ------------------------------------------------------------------- "Dare to reach for the Stars...Dare to Dream, Build, and Achieve!"
Dec 02 2004